Re: About gcc builtin atomics

2012-06-22 Thread Thorsten Glaser
Mikael Pettersson dixit: >As I mentioned before you need to replace the libgcc_s.so symlink >with a linker script. Several gcc targets (at least powerpc, sh, >hppa, and arm) do so already because they have helpers in their >static libgcc that aren't present in their shared libgcc. I tried to val

Re: About gcc builtin atomics

2012-06-22 Thread Thorsten Glaser
Mikael Pettersson dixit: >You should update gcc/config.gcc to append t-slibgcc-libgcc to >tmake_file for the m68k-*-linux* target before building gcc, and >then adjust whatever your gcc source package does to create the >libgcc_s.so linker script for powerpc/arm to also happen for m68k. > >See the

Re: About gcc builtin atomics

2012-06-22 Thread Mikael Pettersson
On Thu, 21 Jun 2012 19:13:03 + (UTC), Thorsten Glaser wrote: > /usr/bin/ld: nouveau_dri.so.test: hidden symbol `__sync_sub_and_fetch_4' in= > /usr/lib/gcc/m68k-linux-gnu/4.6/libgcc.a(linux-atomic.o) is referenced by = > DSO > /usr/bin/ld: final link failed: Bad value > collect2: ld returned