[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |MOVED
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #7 from Nathan Ridge --- Based on some searching around for other users running into this error, this seems to be caused by an ld bug which was fixed in 2.32: https://sourceware.org/bugzilla/show_bug.cgi?id=24458
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 Nathan Ridge changed: What|Removed |Added CC||zeratul976 at hotmail dot com --- Comment #6 from Nathan Ridge --- I'm experiencing the same issue. I'm also on Debian 10 and using ld 2.31.1.
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #5 from David Richards --- To add a bit more (not much - just a tad). I was able to build gcc/g++ version 12.3.0 just recently released without any problems. Then I attempted to build 13.1 with 12.3 and still no luck. Same error... On Tue, May 2, 2023 at 10:42 AM wrote: > Attachments with a MIME type of "text/html" are not allowed on this > installation. > > David Richards wrote: > > ld --version: > > GNU ld (GNU Binutils for Debian) 2.31.1 > > Copyright (C) 2018 Free Software Foundation, Inc. > > This program is free software; you may redistribute it under the terms of > > the GNU General Public License version 3 or (at your option) a later > > version. > > This program has absolutely no warranty. > > NOTE: I have built gcc/g++ version 12.2 o0n this same system > > Thanks! > > Dave > > > > On Tue, May 2, 2023 at 9:18 AM jakub at gcc dot gnu.org < > > gcc-bugzi...@gcc.gnu.org> wrote: > > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 > > > > > > --- Comment #2 from Jakub Jelinek --- > > > Seems binutils has added support for __ehdr_start only in > > > https://sourceware.org/legacy-ml/binutils/2012-06/msg00171.html in > 2012. > > > Do > > > you have binutils older than that? > > > > > > -- > > > You are receiving this mail because: > > > You reported the bug. >
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #4 from David Richards --- ld --version: GNU ld (GNU Binutils for Debian) 2.31.1 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. NOTE: I have built gcc/g++ version 12.2 o0n this same system Thanks! Dave On Tue, May 2, 2023 at 9:18 AM jakub at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 > > --- Comment #2 from Jakub Jelinek --- > Seems binutils has added support for __ehdr_start only in > https://sourceware.org/legacy-ml/binutils/2012-06/msg00171.html in 2012. > Do > you have binutils older than that? > > -- > You are receiving this mail because: > You reported the bug.
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #3 from David Richards --- (In reply to Andrew Pinski from comment #1) > What version of ld is this? > > It might be bug there: > https://sourceware.org/bugzilla/show_bug.cgi?id=24458 ld --version: GNU ld (GNU Binutils for Debian) 2.31.1 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. Note: I have built gcc/g++ version 12.2 without issue on this system... Thanks! Dave
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #2 from Jakub Jelinek --- Seems binutils has added support for __ehdr_start only in https://sourceware.org/legacy-ml/binutils/2012-06/msg00171.html in 2012. Do you have binutils older than that?
[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz ||illa/show_bug.cgi?id=24458 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed||2023-05-02 --- Comment #1 from Andrew Pinski --- What version of ld is this? It might be bug there: https://sourceware.org/bugzilla/show_bug.cgi?id=24458