Re: -m32 broken on bi-arch amd64 systems?

2008-12-26 Thread Garrett Cooper
On Tue, Dec 23, 2008 at 3:54 PM, Peter Wemm pe...@wemm.org wrote: On Tue, Dec 23, 2008 at 1:07 PM, Garrett Cooper yanef...@gmail.com wrote: On Dec 23, 2008, at 10:36, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Tue, Dec 23, 2008 at 12:55:04PM -0500, Josh Carroll wrote: I also

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Maciej Suszko
Garrett Cooper yanef...@gmail.com wrote: Hi guys, I think I may have found an issue today with our bi-endian structure, and I wanted to make sure whether or not it was an already known issue (-m32 is broken for gcc with lib32/libgcc.a): [r...@fbsd-7-test]# gcc -o boo boo.c # Compiles

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Alexander Kabaev
On Tue, 23 Dec 2008 17:36:08 +0100 Maciej Suszko mac...@suszko.eu wrote: Garrett Cooper yanef...@gmail.com wrote: Hi guys, I think I may have found an issue today with our bi-endian structure, and I wanted to make sure whether or not it was an already known issue (-m32 is broken for

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Paweł Wieczorek
I will extend topic to C++: [19:38] zubr:~/Code (1) $ g++ -m32 -B /usr/lib32 p.cpp In file included from /usr/include/c++/4.2/ext/new_allocator.h:37, from /usr/include/c++/4.2/bits/c++allocator.h:39, from /usr/include/c++/4.2/bits/allocator.h:53,

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Josh Carroll
I also noticed that behavior, shouldn't compiler/linker look into /usr/lib32 without additional -B switch? -- regards, Maciej Suszko. I don't know if it should or should not, but I can confirm that this behavior was around in 7.0-RELEASE, so it's been that way for quite a while, at least in

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Steve Kargl
On Tue, Dec 23, 2008 at 12:55:04PM -0500, Josh Carroll wrote: I also noticed that behavior, shouldn't compiler/linker look into /usr/lib32 without additional -B switch? -- regards, Maciej Suszko. I don't know if it should or should not, but I can confirm that this behavior was around

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Garrett Cooper
On Dec 23, 2008, at 10:36, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Tue, Dec 23, 2008 at 12:55:04PM -0500, Josh Carroll wrote: I also noticed that behavior, shouldn't compiler/linker look into /usr/lib32 without additional -B switch? -- regards, Maciej Suszko. I don't know

Re: -m32 broken on bi-arch amd64 systems?

2008-12-23 Thread Peter Wemm
On Tue, Dec 23, 2008 at 1:07 PM, Garrett Cooper yanef...@gmail.com wrote: On Dec 23, 2008, at 10:36, Steve Kargl s...@troutmask.apl.washington.edu wrote: On Tue, Dec 23, 2008 at 12:55:04PM -0500, Josh Carroll wrote: I also noticed that behavior, shouldn't compiler/linker look into

-m32 broken on bi-arch amd64 systems?

2008-12-22 Thread Garrett Cooper
Hi guys, I think I may have found an issue today with our bi-endian structure, and I wanted to make sure whether or not it was an already known issue (-m32 is broken for gcc with lib32/libgcc.a): [r...@fbsd-7-test]# gcc -o boo boo.c # Compiles [r...@fbsd-7-test]# gcc -m32 -o boo boo.c