Skip to contentSkip to conversation

glibc-intermidiate: undefined reference to `__sync_fetch_and_add_4 -> FIXED

DISCUSSION Robert Wörle 1 participant 1 message Jun 18, 2008

lore
Share & tools
lore
#0 lore raw

I am trying to get good stable i686 images now for a long time.

Using .stable tree i tryed again yesterday and i got stuck on glibc-intermidiate with that error undefined reference to `__sync_fetch_and_add_4
i think that was an issue for me for a long time and found that conf/machine/include/tune-pentiumpro.inc uses still -mcpu switch

replacing this with
TARGET_CC_ARCH = "-march=i586" (maybe i should use i686 ?? )

fixed the issue and glibc builds. Also the rest now build like a charm !!

Cheers Robert