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 <zingelman%fnal.gov@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: solaris-pkg-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/40153 (pkgsrc/devel/binutils fails to build on solaris 10
sparc)
Date: Sun, 7 Mar 2010 21:13:49 -0600
On Sat, Mar 6, 2010 at 9:20 PM, David Holland
<dholland-pbugs%netbsd.org@localhost> w=
rote:
>
> =A0Does adding
>
> =A0 =A0.include "../../devel/gettext-lib/buildlink3.mk"
>
> =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=
tl
even when compiled without the added: CONFIGURE_ARGS+=3D --with-included-ge=
ttext
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
-DLOCALEDIR=3D"\"/usr/pkg/share/locale\""
-Dbin_dummy_emulation=3Dbin_vanilla_emulation -I/usr/pkg/gcc34/include
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include
-I/usr/include -I/usr/pkg/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -O -I/usr/pkg/gcc34/include
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include
-I/usr/include -I/usr/pkg/include -c size.c
I messed around with adding other things to the package makefile:
LIBS+=3D ${BUILDLINK_LDADD.gettext}
LIBS+=3D -lintl
but that did not seem to do anything.
- Tim
Home |
Main Index |
Thread Index |
Old Index