From 994fe442814c4d169bb0f1ee9745604928006b39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 May 2024 00:07:28 +0100 Subject: gentoo auto-resync : 26:05:2024 - 00:07:27 --- dev-debug/Manifest.gz | Bin 4025 -> 4023 bytes dev-debug/gdb/Manifest | 3 - .../files/gdb-14.1-fix-dll-export-forwarding.patch | 60 ----------- .../gdb/files/gdb-14.1-fix-list-segfault.patch | 101 ------------------- .../gdb-14.1-fix-print-global-variable-stubs.patch | 109 -------------------- dev-debug/lldb/Manifest | 7 +- dev-debug/lldb/lldb-18.1.5.ebuild | 111 --------------------- dev-debug/lldb/lldb-19.0.0_pre20240509.ebuild | 110 -------------------- dev-debug/lldb/lldb-19.0.0_pre20240525.ebuild | 110 ++++++++++++++++++++ 9 files changed, 112 insertions(+), 499 deletions(-) delete mode 100644 dev-debug/gdb/files/gdb-14.1-fix-dll-export-forwarding.patch delete mode 100644 dev-debug/gdb/files/gdb-14.1-fix-list-segfault.patch delete mode 100644 dev-debug/gdb/files/gdb-14.1-fix-print-global-variable-stubs.patch delete mode 100644 dev-debug/lldb/lldb-18.1.5.ebuild delete mode 100644 dev-debug/lldb/lldb-19.0.0_pre20240509.ebuild create mode 100644 dev-debug/lldb/lldb-19.0.0_pre20240525.ebuild (limited to 'dev-debug') diff --git a/dev-debug/Manifest.gz b/dev-debug/Manifest.gz index 52c75f7ffea3..2c494317a9fb 100644 Binary files a/dev-debug/Manifest.gz and b/dev-debug/Manifest.gz differ diff --git a/dev-debug/gdb/Manifest b/dev-debug/gdb/Manifest index 158d2932382f..309febd3a45e 100644 --- a/dev-debug/gdb/Manifest +++ b/dev-debug/gdb/Manifest @@ -1,6 +1,3 @@ -AUX gdb-14.1-fix-dll-export-forwarding.patch 1991 BLAKE2B 4ebc8ad29ce57760b7b2a2ae000f66e1339ad694586d4a89137d922e22e12835340e886c0d0fa3eaec5a74bd889c226d0e46bc9bc5a020e211e8094578b92eb5 SHA512 ec049f5a019707422ddf715dec31a6cb50dd9cb772fcdad8ac8c542cb0e87dff3c7ec1ab990be56a37a2cf789ed3f13f24ac4df49d5cc808537f311f4253a510 -AUX gdb-14.1-fix-list-segfault.patch 3774 BLAKE2B 2ce82892ab66411756d618f8a78d408be18d2d497d54743b8f42c9c02a15d29ed7c45c7837c91319f3ad0a10d7e01be0beb91de86934b4a728ac5031bbaea8df SHA512 d2057d68c3e692e73e863e7cbd0577032d375197f549a87e119c4896b9b55832203a0af8f925e2523ea869be8ed9eb26b8b5ddd6205957b3c1e8c31850f004ac -AUX gdb-14.1-fix-print-global-variable-stubs.patch 3387 BLAKE2B ff3adebf74c8b9ca37071182462b03e753bcc5161d84a53bea418780f4615327459e6dc876a37622b4c3fdeac356bcc09c93a852dc2e54e7b59de465948101d2 SHA512 bcee16dc6f8cd0b0a422bea86e0d90414a17b9779c48bc1ccd41414863141a3591a6b2970dcb0426d847a605d7a8cfef6b83fce0353e7a423acea34057b6ac4d AUX gdb-8.3.1-verbose-build.patch 395 BLAKE2B e2e82307ceae64d16aa9b57a5e639eb5d217c4d977aed0847fdf125bb13ebc004906d9afb8e3f629c41efccca88df0040015e7799c1fd24de5fb50f62f5bbd90 SHA512 c2bb013e4fcabefddcd8042bd3cbb53471f83182cc8769fe0d19eed80ccc4a83bd84d120006fa25b3b7d0310dc2f2ec6b44a6ff74909cd312b7e491f371777a3 DIST gdb-14.2-sim-modern-c99.patch.xz 5348 BLAKE2B f8039cdf1b49d12eead0dae7db88dbfad4c47eda696ee26b0bd140605d1d62d4a88557518d4e18c86fffb3c6194782d16e459f4392df71d2ec1af271ccb2838d SHA512 f44239871c584f5d6de98db8d6a6766103a8a6fc92dada7d37f04bdc53efe635cca7dfaa778d620348559814f4784a33e5f72a8dd376dc96fba8ec27032ab389 DIST gdb-14.2.tar.xz 24111936 BLAKE2B 65765dfd1ed08e19bb881fc7ae98d6ee4914f38a9a2bb0d0ca73bef472669664f807fe9c04e8dffd7025be98e736ac52f88ff5851ceddbb01a361885b18befc8 SHA512 7e07941f1fe661288cc571b4964012ceabc1760624fce20320db2f470c01439b2386f859b5288da13204b758e2e3b22a74c68c012178db93b9529b06f1e22ede diff --git a/dev-debug/gdb/files/gdb-14.1-fix-dll-export-forwarding.patch b/dev-debug/gdb/files/gdb-14.1-fix-dll-export-forwarding.patch deleted file mode 100644 index 8c2a49f8042f..000000000000 --- a/dev-debug/gdb/files/gdb-14.1-fix-dll-export-forwarding.patch +++ /dev/null @@ -1,60 +0,0 @@ -Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31112 - -From https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=43a608adb04251be8999304cf724f55b2d840ac3 -From: Hannes Domani -Date: Wed, 6 Dec 2023 20:52:06 +0100 -Subject: [PATCH] Fix DLL export forwarding - -I noticed it when I was trying to set a breakpoint at ExitProcess: -``` -(gdb) b ExitProcess -Breakpoint 1 at 0x14001fdd0 -(gdb) r -Starting program: C:\qiewer\heob\heob64.exe -Warning: -Cannot insert breakpoint 1. -Cannot access memory at address 0x3dbf4120 -Cannot insert breakpoint 1. -Cannot access memory at address 0x77644120 -``` - -The problem doesn't exist in gdb 13.2, and the difference can easily be -seen when printing ExitProcess. -gdb 14.1: -``` -(gdb) p ExitProcess -$1 = {} 0x77644120 -``` -gdb 13.2: -``` -(gdb) p ExitProcess -$1 = {} 0x77734120 -``` - -The new behavior started with 9675da25357c7a3f472731ddc6eb3becc65b469a, -where VMA was then calculated relative to FORWARD_DLL_NAME, while it was -relative to DLL_NAME before. - -Fixed by calculating VMA relative to DLL_NAME again. - -Bug: https://sourceware.org/PR31112 -Approved-By: Tom Tromey - -(cherry picked from commit 2574cd903dd84e7081506e24c2e232ecda11a736) ---- a/gdb/coff-pe-read.c -+++ b/gdb/coff-pe-read.c -@@ -210,7 +210,10 @@ add_pe_forwarded_sym (minimal_symbol_reader &reader, - " \"%s\" in dll \"%s\", pointing to \"%s\"\n"), - sym_name, dll_name, forward_qualified_name.c_str ()); - -- unrelocated_addr vma = msymbol.minsym->unrelocated_address (); -+ /* Calculate VMA as if it were relative to DLL_NAME/OBJFILE, even though -+ it actually points inside another dll (FORWARD_DLL_NAME). */ -+ unrelocated_addr vma = unrelocated_addr (msymbol.value_address () -+ - objfile->text_section_offset ()); - msymtype = msymbol.minsym->type (); - section = msymbol.minsym->section_index (); - --- -2.39.3 - diff --git a/dev-debug/gdb/files/gdb-14.1-fix-list-segfault.patch b/dev-debug/gdb/files/gdb-14.1-fix-list-segfault.patch deleted file mode 100644 index 76557b5a7e00..000000000000 --- a/dev-debug/gdb/files/gdb-14.1-fix-list-segfault.patch +++ /dev/null @@ -1,101 +0,0 @@ -Bug: https://bugs.gentoo.org/922336 -Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31256 - -From https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0068bd6fb3579dd8df7561e038cb3fe27f122b0e -From: Guinevere Larsen -To: gdb-patches@sourceware.org -Cc: Guinevere Larsen -Subject: [PATCH] gdb: fix "list ." related crash -Date: Tue, 23 Jan 2024 11:50:43 +0100 - -When a user attempts to use the "list ." command with an inferior that -doesn't have debug symbols, GDB would crash. This was reported as PR -gdb/31256. - -The crash would happen when attempting to get the current symtab_and_line -for the stop location, because the symtab would return a null pointer -and we'd attempt to dereference it to print the line. - -This commit fixes that by checking for an empty symtab and erroring out -of the function if it happens. - -Bug: https://sourceware.org/PR31256 ---- a/gdb/cli/cli-cmds.c -+++ b/gdb/cli/cli-cmds.c -@@ -1291,6 +1291,8 @@ list_command (const char *arg, int from_tty) - set_default_source_symtab_and_line (); - cursal = get_current_source_symtab_and_line (); - } -+ if (cursal.symtab == nullptr) -+ error (_("No debug information available to print source lines.")); - list_around_line (arg, cursal); - /* Set the repeat args so just pressing "enter" after using "list ." - will print the following lines instead of the same lines again. */ ---- /dev/null -+++ b/gdb/testsuite/gdb.base/list-nodebug.c -@@ -0,0 +1,21 @@ -+/* This testcase is part of GDB, the GNU debugger. -+ -+ Copyright 2024 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+int main () -+{ -+ return 0; -+} ---- /dev/null -+++ b/gdb/testsuite/gdb.base/list-nodebug.exp -@@ -0,0 +1,37 @@ -+# Copyright 2024 Free Software Foundation, Inc. -+ -+# This program is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program. If not, see . -+ -+# Test that using the command "list" in a file with no debug information -+# will not crash GDB and will give reasonable output. -+ -+standard_testfile .c -+ -+if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ -+ {nodebug}]} { -+ return -1 -+} -+ -+if {![runto_main]} { -+ untested "couldn't run to main" -+ return -+} -+ -+# Check that GDB doesn't crash when we use list . on an inferior with -+# no debug information -+gdb_test "list ." "No debug.*" "first 'list .'" -+# This should be called twice because the first list invocation since -+# printing a frame may take a different codepath, which wouldn't -+# trigger the crash. -+gdb_test "list ." "No debug.*" "second 'list .'" --- -2.43.0 - - diff --git a/dev-debug/gdb/files/gdb-14.1-fix-print-global-variable-stubs.patch b/dev-debug/gdb/files/gdb-14.1-fix-print-global-variable-stubs.patch deleted file mode 100644 index ff0ff7bfb0c3..000000000000 --- a/dev-debug/gdb/files/gdb-14.1-fix-print-global-variable-stubs.patch +++ /dev/null @@ -1,109 +0,0 @@ -Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31128 - -From https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bc23ea51f8a83e9524dfb553baa8baacb29e68a9 -From: Hannes Domani -Date: Fri, 8 Dec 2023 19:06:14 +0100 -Subject: [PATCH] Fix printing of global variable stubs if no inferior is - running - -Since 3c45e9f915ae4aeab7312d6fc55a947859057572 gdb crashes when trying -to print a global variable stub without a running inferior, because of -a missing nullptr-check (the block_scope function took care of that -check before it was converted to a method). - -With this check it works again: -``` -(gdb) print s -$1 = -``` - -Bug: https://sourceware.org/PR31128 -Approved-By: Tom Tromey -(cherry picked from commit 576745e26c0ec76a53ba45b20af464628a50b3e4) ---- a/gdb/cp-namespace.c -+++ b/gdb/cp-namespace.c -@@ -1026,7 +1026,11 @@ cp_lookup_transparent_type (const char *name) - - /* If that doesn't work and we're within a namespace, look there - instead. */ -- scope = get_selected_block (0)->scope (); -+ const block *block = get_selected_block (0); -+ if (block == nullptr) -+ return nullptr; -+ -+ scope = block->scope (); - - if (scope[0] == '\0') - return NULL; ---- /dev/null -+++ b/gdb/testsuite/gdb.cp/print-global-stub.cc -@@ -0,0 +1,31 @@ -+/* This testcase is part of GDB, the GNU debugger. -+ -+ Copyright 2023 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+struct S -+{ -+ S (int); -+ virtual ~S (); -+ -+ int m_i; -+}; -+ -+S s (5); -+ -+int main () -+{ -+ return 0; -+} ---- /dev/null -+++ b/gdb/testsuite/gdb.cp/print-global-stub.exp -@@ -0,0 +1,32 @@ -+# Copyright (C) 2023 Free Software Foundation, Inc. -+ -+# This program is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program. If not, see . -+ -+# This file is part of the GDB testsuite. -+# It tests printing of a global stub without inferior. -+ -+require allow_cplus_tests -+ -+standard_testfile .cc -+set objfile [standard_output_file ${testfile}.o] -+ -+if { [gdb_compile $srcdir/$subdir/$srcfile $objfile object \ -+ {c++ debug}] != "" } { -+ untested "failed to compile" -+ return -1 -+} -+ -+clean_restart $objfile -+ -+gdb_test "print s" " = " --- -2.39.3 - diff --git a/dev-debug/lldb/Manifest b/dev-debug/lldb/Manifest index a2c1fc757d4f..559fa90bfec4 100644 --- a/dev-debug/lldb/Manifest +++ b/dev-debug/lldb/Manifest @@ -4,19 +4,16 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db3659 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 -DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531 SHA512 9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20 -DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9 SHA512 3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237 DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5 SHA512 89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395 SHA512 fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 BLAKE2B b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479 SHA512 b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7 -DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 BLAKE2B 28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11 SHA512 1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417 +DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 BLAKE2B 4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710 SHA512 c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8 EBUILD lldb-15.0.7.ebuild 2787 BLAKE2B 606d1bef5194c6d173480719f131847bda2093a14937e831972e3514e86b9ab3f420f7d9cbc60457dacfa0613af21b88f0f91b20ac2215d10b18acf73a938885 SHA512 3e9adac80fbf2a37784e197e882d3a797e6f37b18afc06b8952f587b9259a0610b08702472360e4828e5499f56a520566cbbf869c19380227eaea172d2b35934 EBUILD lldb-16.0.6-r1.ebuild 2605 BLAKE2B 93d0148ce952dc67a60579da1516398fe529c4efca3d15844fc7cc7aaac46ac9f5615eca85602346c0c5b6bebcb3343ca61a0e98aa7498e325200632ff084825 SHA512 51dc1b8d85da0bcd8e6f2a42f3da30f20861de1bcce8b03edd7ef924bdea38d192723d87364783e195585c1de096bb5a55ee46a8c9fb9b5da3e211a9228c59df EBUILD lldb-16.0.6.ebuild 2735 BLAKE2B 02d90b4ef7180e73efeff06ccb61f1f03ecda99183420245bec0c4b7884b01c570c2389a634db9f46386355bd3ccc9cc5a0a4a01e4254a8718a9668f96ea7517 SHA512 325400e59d98e87eceaf12710a127cc5927309f683f2460983004bd6acdd9115775b95b406b872464a0184e8a749d570265c9c18f2df7774021c4377574b68d6 EBUILD lldb-17.0.6.ebuild 2713 BLAKE2B 241b5851ea908a150488f431501c3a83d321f7d9225a12ee306cb915b21c1f918b0d931a2575db8c5680a58c84ad8c9037c8e591ea280f8a13fda7ad2464238c SHA512 656fc28d597d39e11aa58405a39ca6fabc579fb6f48d31c8cf8b4356d5e6ba54c3ab691b57b64d227c1d13a87f7579b851a12589a1ab411972a36b952a0990f6 -EBUILD lldb-18.1.5.ebuild 2620 BLAKE2B d8c73768046753f89c3922aeaa7f4113bfe0a264766765fb756f2f46c3b75610f5eebc4010d9abfba33fe39c04595e41b2eef732479028063dfb059263dd470e SHA512 614edb0432b74a3ee222fbc389a445c85f4a99ea3a862cfa033ace57f4cebf04098c56a4a0686cca78d46d27dfd5b74aab3634c1ff19d02838af5df3c187dfd6 EBUILD lldb-18.1.6.ebuild 2620 BLAKE2B d8c73768046753f89c3922aeaa7f4113bfe0a264766765fb756f2f46c3b75610f5eebc4010d9abfba33fe39c04595e41b2eef732479028063dfb059263dd470e SHA512 614edb0432b74a3ee222fbc389a445c85f4a99ea3a862cfa033ace57f4cebf04098c56a4a0686cca78d46d27dfd5b74aab3634c1ff19d02838af5df3c187dfd6 EBUILD lldb-19.0.0.9999.ebuild 2579 BLAKE2B 60edc61e262a002ffc130dc86b3a77cf647f8bb62707a3c776d542dae3aeaa04fb38b5a6df6c2b7a7386a9267cb28f6af415cc6598e830bf45f13c7a5a8054f6 SHA512 78c3a75ad806b94b1b828ba7cede5f15f02b937b9522ed47882d1443baadb891e18d4c7f8bdfb0c0732bf7d763a92d0f934cdda2e0377a79e159e22c24753d40 -EBUILD lldb-19.0.0_pre20240509.ebuild 2579 BLAKE2B 60edc61e262a002ffc130dc86b3a77cf647f8bb62707a3c776d542dae3aeaa04fb38b5a6df6c2b7a7386a9267cb28f6af415cc6598e830bf45f13c7a5a8054f6 SHA512 78c3a75ad806b94b1b828ba7cede5f15f02b937b9522ed47882d1443baadb891e18d4c7f8bdfb0c0732bf7d763a92d0f934cdda2e0377a79e159e22c24753d40 EBUILD lldb-19.0.0_pre20240518.ebuild 2579 BLAKE2B 60edc61e262a002ffc130dc86b3a77cf647f8bb62707a3c776d542dae3aeaa04fb38b5a6df6c2b7a7386a9267cb28f6af415cc6598e830bf45f13c7a5a8054f6 SHA512 78c3a75ad806b94b1b828ba7cede5f15f02b937b9522ed47882d1443baadb891e18d4c7f8bdfb0c0732bf7d763a92d0f934cdda2e0377a79e159e22c24753d40 +EBUILD lldb-19.0.0_pre20240525.ebuild 2579 BLAKE2B 60edc61e262a002ffc130dc86b3a77cf647f8bb62707a3c776d542dae3aeaa04fb38b5a6df6c2b7a7386a9267cb28f6af415cc6598e830bf45f13c7a5a8054f6 SHA512 78c3a75ad806b94b1b828ba7cede5f15f02b937b9522ed47882d1443baadb891e18d4c7f8bdfb0c0732bf7d763a92d0f934cdda2e0377a79e159e22c24753d40 MISC metadata.xml 495 BLAKE2B dec5cbc692a57ddb85bccb855d6e16893e6e851c6e3b3f321693fd7cb8bf930167976573d61bfca3c29dc667bb57c2c11669299bcc80d1da04fb53ea90ca1826 SHA512 6168aeac121fa7b3f19fe2590c4ad52eae959bfd3bebceebc64a54d254a29226d5424ab031f9730af9f574e3956119856d1ea2008b5d24721b346cf8f5ad7f9f diff --git a/dev-debug/lldb/lldb-18.1.5.ebuild b/dev-debug/lldb/lldb-18.1.5.ebuild deleted file mode 100644 index 7734bd04d4e9..000000000000 --- a/dev-debug/lldb/lldb-18.1.5.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1 - -DESCRIPTION="The LLVM debugger" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" -IUSE="debug debuginfod +libedit lzma ncurses +python test +xml" -RESTRICT="test" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -DEPEND=" - debuginfod? ( - net-misc/curl:= - dev-cpp/cpp-httplib:= - ) - libedit? ( dev-libs/libedit:0= ) - lzma? ( app-arch/xz-utils:= ) - ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) - xml? ( dev-libs/libxml2:= ) - ~sys-devel/clang-${PV} - ~sys-devel/llvm-${PV}[debuginfod=] -" -RDEPEND=" - ${DEPEND} - python? ( - ${PYTHON_DEPS} - ) -" -BDEPEND=" - ${PYTHON_DEPS} - python? ( - >=dev-lang/swig-3.0.11 - ) - test? ( - $(python_gen_cond_dep " - ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] - dev-python/psutil[\${PYTHON_USEDEP}] - ") - sys-devel/lld - ) -" - -LLVM_COMPONENTS=( lldb cmake llvm/utils ) -LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) -llvm.org_set_globals - -src_configure() { - llvm_prepend_path "${LLVM_MAJOR}" - - # bug #858389 (https://github.com/llvm/llvm-project/issues/83636) - filter-lto - - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" - - local mycmakeargs=( - -DLLDB_ENABLE_CURSES=$(usex ncurses) - -DLLDB_ENABLE_LIBEDIT=$(usex libedit) - -DLLDB_ENABLE_PYTHON=$(usex python) - -DLLDB_ENABLE_LUA=OFF - -DLLDB_ENABLE_LZMA=$(usex lzma) - -DLLDB_ENABLE_LIBXML2=$(usex xml) - -DLLVM_ENABLE_TERMINFO=$(usex ncurses) - - -DLLDB_INCLUDE_TESTS=$(usex test) - - -DCLANG_LINK_CLANG_DYLIB=ON - # TODO: fix upstream to detect this properly - -DHAVE_LIBDL=ON - -DHAVE_LIBPTHREAD=ON - - # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO - # and TERMINFO_LIBS... so just force FindCurses.cmake to use - # ncurses with complete library set (including autodetection - # of -ltinfo) - -DCURSES_NEED_NCURSES=ON - - -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}" - - -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -DPython3_EXECUTABLE="${PYTHON}" - ) - use test && mycmakeargs+=( - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="$(get_lit_flags)" - ) - - cmake_src_configure -} - -src_test() { - local -x LIT_PRESERVES_TMP=1 - cmake_build check-lldb-{shell,unit} - # failures + hangs - #use python && cmake_build check-lldb-api -} - -src_install() { - cmake_src_install - find "${D}" -name '*.a' -delete || die - - use python && python_optimize -} diff --git a/dev-debug/lldb/lldb-19.0.0_pre20240509.ebuild b/dev-debug/lldb/lldb-19.0.0_pre20240509.ebuild deleted file mode 100644 index c79bdcdf6f3d..000000000000 --- a/dev-debug/lldb/lldb-19.0.0_pre20240509.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1 - -DESCRIPTION="The LLVM debugger" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" -IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml" -RESTRICT="test" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -DEPEND=" - debuginfod? ( - net-misc/curl:= - dev-cpp/cpp-httplib:= - ) - libedit? ( dev-libs/libedit:0= ) - lzma? ( app-arch/xz-utils:= ) - ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) - xml? ( dev-libs/libxml2:= ) - ~sys-devel/clang-${PV} - ~sys-devel/llvm-${PV}[debuginfod=] -" -RDEPEND=" - ${DEPEND} - python? ( - ${PYTHON_DEPS} - ) -" -BDEPEND=" - ${PYTHON_DEPS} - python? ( - >=dev-lang/swig-3.0.11 - ) - test? ( - $(python_gen_cond_dep " - ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] - dev-python/psutil[\${PYTHON_USEDEP}] - ") - sys-devel/lld - ) -" - -LLVM_COMPONENTS=( lldb cmake llvm/utils ) -LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) -llvm.org_set_globals - -src_configure() { - llvm_prepend_path "${LLVM_MAJOR}" - - # bug #858389 (https://github.com/llvm/llvm-project/issues/83636) - filter-lto - - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" - - local mycmakeargs=( - -DLLDB_ENABLE_CURSES=$(usex ncurses) - -DLLDB_ENABLE_LIBEDIT=$(usex libedit) - -DLLDB_ENABLE_PYTHON=$(usex python) - -DLLDB_ENABLE_LUA=OFF - -DLLDB_ENABLE_LZMA=$(usex lzma) - -DLLDB_ENABLE_LIBXML2=$(usex xml) - -DLLVM_ENABLE_TERMINFO=$(usex ncurses) - - -DLLDB_INCLUDE_TESTS=$(usex test) - - -DCLANG_LINK_CLANG_DYLIB=ON - # TODO: fix upstream to detect this properly - -DHAVE_LIBDL=ON - -DHAVE_LIBPTHREAD=ON - - # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO - # and TERMINFO_LIBS... so just force FindCurses.cmake to use - # ncurses with complete library set (including autodetection - # of -ltinfo) - -DCURSES_NEED_NCURSES=ON - - -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}" - - -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -DPython3_EXECUTABLE="${PYTHON}" - ) - use test && mycmakeargs+=( - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" - -DLLVM_LIT_ARGS="$(get_lit_flags)" - ) - - cmake_src_configure -} - -src_test() { - local -x LIT_PRESERVES_TMP=1 - cmake_build check-lldb-{shell,unit} - # failures + hangs - #use python && cmake_build check-lldb-api -} - -src_install() { - cmake_src_install - find "${D}" -name '*.a' -delete || die - - use python && python_optimize -} diff --git a/dev-debug/lldb/lldb-19.0.0_pre20240525.ebuild b/dev-debug/lldb/lldb-19.0.0_pre20240525.ebuild new file mode 100644 index 000000000000..c79bdcdf6f3d --- /dev/null +++ b/dev-debug/lldb/lldb-19.0.0_pre20240525.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1 + +DESCRIPTION="The LLVM debugger" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0/${LLVM_SOABI}" +IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml" +RESTRICT="test" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +DEPEND=" + debuginfod? ( + net-misc/curl:= + dev-cpp/cpp-httplib:= + ) + libedit? ( dev-libs/libedit:0= ) + lzma? ( app-arch/xz-utils:= ) + ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) + xml? ( dev-libs/libxml2:= ) + ~sys-devel/clang-${PV} + ~sys-devel/llvm-${PV}[debuginfod=] +" +RDEPEND=" + ${DEPEND} + python? ( + ${PYTHON_DEPS} + ) +" +BDEPEND=" + ${PYTHON_DEPS} + python? ( + >=dev-lang/swig-3.0.11 + ) + test? ( + $(python_gen_cond_dep " + ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] + dev-python/psutil[\${PYTHON_USEDEP}] + ") + sys-devel/lld + ) +" + +LLVM_COMPONENTS=( lldb cmake llvm/utils ) +LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) +llvm.org_set_globals + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + # bug #858389 (https://github.com/llvm/llvm-project/issues/83636) + filter-lto + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + + local mycmakeargs=( + -DLLDB_ENABLE_CURSES=$(usex ncurses) + -DLLDB_ENABLE_LIBEDIT=$(usex libedit) + -DLLDB_ENABLE_PYTHON=$(usex python) + -DLLDB_ENABLE_LUA=OFF + -DLLDB_ENABLE_LZMA=$(usex lzma) + -DLLDB_ENABLE_LIBXML2=$(usex xml) + -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + + -DLLDB_INCLUDE_TESTS=$(usex test) + + -DCLANG_LINK_CLANG_DYLIB=ON + # TODO: fix upstream to detect this properly + -DHAVE_LIBDL=ON + -DHAVE_LIBPTHREAD=ON + + # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO + # and TERMINFO_LIBS... so just force FindCurses.cmake to use + # ncurses with complete library set (including autodetection + # of -ltinfo) + -DCURSES_NEED_NCURSES=ON + + -DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}" + + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" + -DPython3_EXECUTABLE="${PYTHON}" + ) + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lldb-{shell,unit} + # failures + hangs + #use python && cmake_build check-lldb-api +} + +src_install() { + cmake_src_install + find "${D}" -name '*.a' -delete || die + + use python && python_optimize +} -- cgit v1.2.3