https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976

--- Comment #188 from Peter Dyballa <Peter_Dyballa at web dot de> ---
(In reply to Iain Sandoe from comment #187)
> (In reply to Peter Dyballa from comment #186)
> 
> This is caused by a bug in ld64 (there's a series of partial fixes and
> work-arounds in various versions of ld64) ... I do have a fixed version but
> that would mean you building some other code.
> 
> I have some other things that need addressing - but will take a closer look
> later (note that I do not see this issue in my build - and I am also using a
> version of ld64 with the bug) . . I wonder if you are somehow pulling in a
> different ld64 ...

locate has a recent database, from last night. It finds:

leopard pete 225 /\  ls -l `locate ld | egrep '/ld$'`
-rwxr-xr-x  1 root  wheel  2622416 12 Jul  2008 /Developer/usr/bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/Developer/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/Developer/usr/libexec/gcc/i686-apple-darwin9/4.2.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/Developer/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/Developer/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  admin       21 17 Jan  2013
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin9/4.2.1/ld ->
../../../../../bin/ld
lrwxr-xr-x  1 root  admin       21 17 Jan  2013
/Developer/usr/llvm-gcc-4.2/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld ->
../../../../../bin/ld
-rwxr-xr-x  1 root  wheel  2622416 12 Jul  2008 /usr/bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/usr/libexec/gcc/i686-apple-darwin9/4.2.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld -> ../../../../bin/ld
lrwxr-xr-x  1 root  wheel       18 17 Jan  2013
/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld -> ../../../../bin/ld

leopard pete 226 /\  ls -l `locate ld64 | egrep '/ld64$'`
lrwxr-xr-x  1 root  admin  2 17 Jan  2013 /Developer/usr/bin/ld64 -> ld
lrwxr-xr-x  1 root  wheel  2 17 Jan  2013 /usr/bin/ld64 -> ld

/opt/local/var/macports/distfiles/ld64:
total 40
drwxr-xr-x  2 macports  admin  170  5 Jan  2025 97.17_1
lrwxr-xr-x  1 macports  admin   70 23 Mai  2022 dyld-421.2.tar.gz ->
/Volumes/BSD-Linux/MacPorts-distfiles/distfiles/ld64/dyld-421.2.tar.gz
lrwxr-xr-x  1 macports  admin   72 24 Okt  2020 dyld-655.1.1.tar.gz ->
/Volumes/BSD-Linux/MacPorts-distfiles/distfiles/ld64/dyld-655.1.1.tar.gz
lrwxr-xr-x  1 macports  admin   70 24 Okt  2020 ld64-127.2.tar.gz ->
/Volumes/BSD-Linux/MacPorts-distfiles/distfiles/ld64/ld64-127.2.tar.gz
lrwxr-xr-x  1 macports  admin   95 23 Mai  2022
ld64-97-standalone-libunwind-headers.patch ->
/Volumes/BSD-Linux/MacPorts-distfiles/distfiles/ld64/ld64-97-standalone-libunwind-headers.patch
lrwxr-xr-x  1 macports  admin   70 23 Mai  2022 ld64-97.17.tar.gz ->
/Volumes/BSD-Linux/MacPorts-distfiles/distfiles/ld64/ld64-97.17.tar.gz

/opt/local/var/macports/software/ld64:
total 32
-rw-r--r--  1 root  admin  7529  8 Feb  2024
ld64-3_6+ld64_127.darwin_9.ppc.tbz2
-rw-r--r--  1 root  admin  7552 28 Dez  2024 ld64-3_6+ld64_97.darwin_9.ppc.tbz2

/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/ld64:
total 56
-rw-r--r--  1 polkituser  polkitd  25371 23 Mär  2024 Portfile
drwxr-xr-x  2 polkituser  polkitd   1904 23 Mär  2024 files


At this moment ld64 is mostly MacPorts archives.

leopard pete 229 /\  ls -l `locate dyld | egrep '/dyld$'`
-r-xr-xr-x  1 root  wheel  1059792 16 Jul  2009 /usr/lib/dyld

/private/var/db/dyld:
total 300512
-rw-r--r--  1 root  wheel  153825280 17 Jan  2013 dyld_shared_cache_ppc
-rw-r--r--  1 root  wheel      34715 17 Jan  2013 dyld_shared_cache_ppc.map
drwxr-xr-x  2 root  wheel        238 24 Sep  2007 shared_region_roots



It's alright with me that you have other tasks, I planned some recumbent bike
riding for today.

Reply via email to