[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building and using shared libraries using gccgo



Am 31.01.2013 13:02, schrieb Hilko Bengen:
> 2. -fno-split-stack
>    Otherwise I could not link executables and got the following error
>    message:
>    /usr/bin/ld.bfd.real: cindex: hidden symbol `__morestack' in
>    /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc.a/morestack.o) is referenced
>    by DSO
>    /usr/bin/ld.bfd.real: final link failed: Bad value

better use -fuse-ld=ld.gold, or in a packaging context, build-depend on
binutils-gold. gold should be available on all archs where gccgo is available.

  Matthias


Reply to: