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

--- Comment #21 from Mark Millard <markmigm at gmail dot com> ---
(In reply to Mark Millard from comment #20)
> (In reply to Mark Millard from comment #18)
> 
> > Since there appear to be good vs. bad instances of the likes of:
> > 
> > /wrkdirs/usr/ports/lang/gcc16-devel/work/.build/gcc/f951
> > 
> >. . .
> > 
> > might someone be able to report the ldd -a output for an
> > instance of each status for one of those (or other such example)?
> 

This time for a working build (lang/gcc15 had been installed
before the build):

# ldd -a /wrkdirs/usr/ports/lang/gcc16-devel/work/.build/gcc/f951 
/wrkdirs/usr/ports/lang/gcc16-devel/work/.build/gcc/f951:
        libz.so.6 => /lib/libz.so.6 (0x22a1521cc000)
        libmpc.so.3 => /usr/local/lib/libmpc.so.3 (0x22a153e17000)
        libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x22a154a01000)
        libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x22a1558f2000)
        libm.so.5 => /lib/libm.so.5 (0x22a152de8000)
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/lib/libz.so.6:
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/usr/local/lib/libmpc.so.3:
        libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x22a154a01000)
        libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x22a1558f2000)
        libm.so.5 => /lib/libm.so.5 (0x22a152de8000)
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/usr/local/lib/libmpfr.so.6:
        libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x22a1558f2000)
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/usr/local/lib/libgmp.so.10:
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/lib/libm.so.5:
        libc.so.7 => /lib/libc.so.7 (0x22a15648f000)
/lib/libc.so.7:
        libsys.so.7 => /lib/libsys.so.7 (0x22a15872f000)
[preloaded]
        [vdso] (0x22a15124b000)

Looks like the same lists of files are used to me. The
difference is apparently inside f951, not what f951
binds to.

It would seem some part of the example build is finding
something involving some path from:

# find /usr/local/ -name '*gcc15*' -print | less
/usr/local/include/gcc15
/usr/local/bin/x86_64-portbld-freebsd16.0-gcc15
/usr/local/bin/gcc15
/usr/local/lib/gcc15
/usr/local/share/licenses/gcc15-15.2.0_1
/usr/local/share/info/gcc15
/usr/local/share/man/man1/gcc15.1.gz
/usr/local/libdata/ldconfig/gcc15
/usr/local/libdata/ldconfig32/gcc15
/usr/local/lib32/gcc15
/usr/local/libexec/gcc15

when such exists (but not when no such exists) and
the build then works differently as a consequence.

Reply via email to