Boost logo

Boost-Build :

Subject: [Boost-build] gcc.jam broken on 64-bit FreeBSD
From: Bruce Simpson (bms_at_[hidden])
Date: 2009-07-19 14:07:39


Hi all,

This is just to say that Boost on FreeBSD is chock-a-block with
regression failures on the amd64 platform.
I traced the issue back to this thread:
    http://lists.boost.org/boost-build/2008/10/20471.php

It appears that I have to get rid of the lib32 stuff, to get the linker
to do the right thing, otherwise I get lots of these messages:

/libexec/ld-elf.so.1: /usr/lib32/libm.so.5: unsupported file layout

This is an obvious build/run problem with the LD_RUN_PATH; FreeBSD 64-bit binaries cannot dynamically link with 32-bit binaries, unless they use some form of explicit thunk. FreeBSD's rtld will not thunk on its own.

Here's the evidence from my last run:
 http://www.boost.org/development/tests/release/developer/output/bms-freebsd-stable-amd64-gcc-boost-bin-v2-libs-asio-test-buffer-test-gcc-4-2-1-debug-threading-multi.html

So, what's the best course of action here? Can I help get a patch in
upstream to fix this?
P.S. I have volunteered to be FreeBSD Platform Champion, if this helps.

thanks,
BMS


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk