Matthias Klose wrote: > On arm-linux-gnueabi there are regressions of the form > > /usr/bin/ld: ./atomic-1.exe: hidden symbol `__sync_val_compare_and_swap_4' in > /home/doko/gcc/4.4/gcc-4.4-4.4.0/build/gcc/libgcc.a(linux-atomic.o) is > referenced by DSO > /usr/bin/ld: final link failed: Nonrepresentable section on output > > in the libgomp, libstdc++ and g++ testsuites. Linking the shared libstdc++ > with > both -lgcc_s and -lgcc does fix these (testsuites currently running), however > I'm not sure how to do this properly, as libtool removes any `-lgcc' argument. > I see, looks like the problem warned about by Joseph is biting us. For the time being I reverted the patch both from mainline and the branch. Please make sure it gets fixed properly and then let's reconsider the libstdc++ patch, for mainline at least.
Thanks, Paolo.