[Debian GNUstep maintainers] Bug#631148: gnustep-gui: FTBFS with ld --as-needed

Yavor Doganov yavor at gnu.org
Thu Sep 15 17:34:31 UTC 2011


tags 631148 - patch + pending
thanks

On Mon, Jun 20, 2011 at 07:38:28PM +0000, Andreas Moog wrote:
> Package: gnustep-gui
> Version: 0.20.0-1
> Severity: minor
> Tags: upstream patch

> gnustep-gui FTBFS with ld --as-needed:

> ../obj/say.obj/say.m.o:(.data.rel+0x14): undefined reference to `__objc_class_name_NSSpeechSynthesizer'

> The attached patch fixes that by disabling as-needed for gnustep-gui. The 
> correct fix however has to be done upstream, by including a variable like 
> TOOL_LIBS in /usr/share/GNUstep/Makefiles/Instance/tool.make and put it 
> after the object argument in the linker call.

The correct fix is to use ADDITIONAL_TOOL_LIBS and not say_LDFLAGS,
which is a variable designed only for linker flags.  Thanks for the
report; the fixed package will be uploaded shortly.





More information about the pkg-GNUstep-maintainers mailing list