This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/37509] __sync_fetch_and_xxx generates relocatable symbols



------- Comment #5 from timothy dot krause at shaw dot ca  2008-09-23 22:53 -------
Setting
CFLAGS="-m32 -march=i686 -O2"
fixed the problem for
host=i686-pc-linux-gnu
target=i686-pc-linux-gnu
I later noticed that configure has a --with-cpu option. This generates a
-mcpu=i?86 option which also works but is depricated.
Thanks to Paolo Carlini for this fix.


-- 

timothy dot krause at shaw dot ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|                            |i686-pc-linux-gnu
 GCC target triplet|                            |i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37509


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]