Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2025 05:39:05 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Nuno Teixeira <eduardo@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: poudriere loop: llvm19-19.1.7: missed shlib PORTREVISION chase
Message-ID:  <SI2PR01MB5036CEE4031F57C8ADEE6C99FAED2@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <CAFDf7UJ6ouomXpc6YiySv73GhJg6-m8VEnXJ949sC=kmkLV%2BHQ@mail.gmail.com>
References:  <CAFDf7UJ6ouomXpc6YiySv73GhJg6-m8VEnXJ949sC=kmkLV%2BHQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

My environment is that :), but I have llvm19 installed, so I will write about what I did a little research.

In llvm19, a file that seems to have 32-bit libc++ linked.
The command looks like this.

find /usr/local/ -exec sh -c 'readelf -d -- ${1} 2> /dev/null | grep -e libc++\\.so\\.1' arg0 {} \; -print

It looks like
/usr/local/llvm19/lib/clang/19/lib/i386-portbld-freebsd12.4/libclang_rt.asan.so
and
/usr/local/llvm19/lib/clang/19/lib/i386-portbld-freebsd12.4/libclang_rt.ubsan_standalone.so
need it.

Then, when ldconfig is executed, it bothers me that the 32-bit path is not included in the search path.

 > ldconfig -r | head
/var/run/ld-elf.so.hints:
         search directories: /lib:/usr/lib:/lib/casper:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/VirtualGL/lib:/usr/local/ffmpeg4/lib:/usr/local/lib/alsa-lib:/usr/local/lib/gcc13:/usr/local/lib/heimdal:/usr/local/lib/ipsec:/usr/local/lib/opencollada:/usr/local/lib/perl5/5.36/mach/CORE:/usr/local/lib/python3.11/site-packages:/usr/local/lib/qt5:/usr/local/lib/qt6:/usr/local/lib/samba4:/usr/local/llvm15/lib:/usr/local/llvm16/lib:/usr/local/llvm17/lib:/usr/local/llvm18/lib:/usr/local/share/chromium
         0:-lelf.2 => /lib/libelf.so.2
         1:-lpcap.8 => /lib/libpcap.so.8
         2:-lcam.7 => /lib/libcam.so.7
         3:-lthr.3 => /lib/libthr.so.3
         4:-lbsdxml.4 => /lib/libbsdxml.so.4
         5:-lumem.2 => /lib/libumem.so.2
         6:-lulog.0 => /lib/libulog.so.0
         7:-lipt.0 => /lib/libipt.so.0

Here, we will take a break for the time being :)

Regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036CEE4031F57C8ADEE6C99FAED2>