What happens if you build with -msecure-plt or -fno-plt? Thanks,
-- Raul On Tue, Nov 13, 2018 at 2:39 PM Charlene Wendling <juliana...@posteo.jp> wrote: > > Hi, > > bcallah@ (mostly) and i (who owns the hardware and builds) are currently > trying to get llvm/clang working on macpcc. That would allow us to try > unbreaking many ports on this platform, especially those that depend on > webkitgtk4. > > It currently builds [1] and installs [2] properly. I then tried to build > a port with clang, successfully, but it fails at runtime. This is what i > get, even with a simple "hello world", on OpenBSD 6.4-current (GENERIC) > #263 (2018/11/09): > > $ ./hello > ld.so: hello: unsupported insecure BSS PLT object > > Recently, support for BSS PLT format has been deleted [3]. > > Is it possible to fix clang so we get binaries that work at runtime? > > Reintroducing BSS PLT is probably not the best solution, and is only > considered a "decent guess" to fix the issue. > > Your opinions are welcome! > > Charlène. > > > [1] https://transfer.sh/So4dg/llvm.working.build.log > [2] > https://bsd.network/system/media_attachments/files/000/613/163/original/4279771bd01ce556.png?1542113789 > [3] https://marc.info/?l=openbsd-cvs&m=154174152917901&w=2 >