[Pkg-fonts-devel] Bug#677671: grcompiler: fails to build with ld --as-needed

Julian Taylor jtaylor.debian at googlemail.com
Fri Jun 15 22:27:18 UTC 2012


Package: grcompiler
Version: 4.2~pre6-1
Severity: wishlist
Tags: patch

grcompiler fails to build with ld --as-needed
this flag requires libraries to be placed after objects needing
their symbols.
this is due to configure.ac putting libraries in the LDFLAGS
variable
the LIBS variable is supposed to be used for libraries

see the buildlog in ubuntu:
https://launchpadlibrarian.net/107178879/buildlog_ubuntu-quantal-i386.grcompiler_4.2~pre6-1_FAILEDTOBUILD.txt.gz


attached a patch paching configure and configure.am
the former can be dropped when you regenerate the autotools
files.

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-as-needed.patch
Type: text/x-diff
Size: 1022 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20120616/57a2c99e/attachment.patch>


More information about the Pkg-fonts-devel mailing list