pkgsrc-Bugs archive

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

Re: pkg/40153 (pkgsrc/devel/binutils fails to build on solaris 10 sparc)

The following reply was made to PR pkg/40153; it has been noted by GNATS.

From: Tim Zingelman <>
Subject: Re: pkg/40153 (pkgsrc/devel/binutils fails to build on solaris 10 
Date: Sun, 7 Mar 2010 21:13:49 -0600

 On Sat, Mar 6, 2010 at 9:20 PM, David Holland 
<> w=
 > =A0Does adding
 > =A0 =A0.include "../../devel/gettext-lib/"
 > =A0to the package makefile solve the problem?
 No change.
 I think the problem may be that the compile 'sees' the pkgsrc include
 files but then links against the builtin libintl.
 If I add -L/usr/pkg/lib -lintl to the end of the failing link
 manually, it links ok.
 I see the compile line for size.o includes: -I.././binutils/../intl -I../in=
 even when compiled without the added: CONFIGURE_ARGS+=3D --with-included-ge=
 so maybe the bad include file is found there?
 gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE  -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd
 -I.././binutils/../include   -I.././binutils/../intl -I../intl
 -Dbin_dummy_emulation=3Dbin_vanilla_emulation   -I/usr/pkg/gcc34/include
 -I/usr/include -I/usr/pkg/include -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -Werror -O -I/usr/pkg/gcc34/include
 -I/usr/include -I/usr/pkg/include -c size.c
 I messed around with adding other things to the package makefile:
  LIBS+=3D -lintl
 but that did not seem to do anything.
  - Tim

Home | Main Index | Thread Index | Old Index