bin/139146 still not right in FreeBSD 8.2 (-m32 on amd64)?

Matthias Andree matthias.andree at gmx.de
Wed Mar 9 21:44:43 UTC 2011


Am 09.03.2011 21:52, schrieb Josh Carroll:
> On Wed, Mar 9, 2011 at 12:15 PM, Thomas David Rivers <rivers at dignus.com> wrote:
>>
>> Just installed a fresh 8.2-stable on a brand-spanking-new 64-bit
>> machine...
>>
>> But, when I try to build 32-bit programs I get problems linking,
>> and I stumbled onto PR bin/139146.
>>
>> The PR mentions this quick test:
>>
>>  uname -sr && echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc -m32 t.c
> 
> Add -B/usr/lib32 to the gcc command line, e.g.:
> 
> echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc
> -m32 -B/usr/lib32 t.c
> 
> Then it should work.

I experienced the same some time ago - but:
Shouldn't this (-B/usr/lib32) be subsumed under the -m32 switch in the
future?

Best regards

-- 
Matthias Andree


More information about the freebsd-stable mailing list