pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36777: devel/binutils build fails
The following reply was made to PR pkg/36777; it has been noted by GNATS.
From: Yakovetsky Vladimir <yx%rtk0.lneuro.x.ua@localhost>
To: Aleksej Saushev <asau%hotbox.ru@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/36777: devel/binutils build fails
Date: Tue, 14 Aug 2007 13:32:56 +0300 (EEST)
In article <20070814085001.2567063B8F0%narn.NetBSD.org@localhost> you wrote:
>> Number: 36777
>> Category: pkg
>> Synopsis: devel/binutils build fails
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Tue Aug 14 08:50:00 +0000 2007
>> Originator: Aleksej Saushev <asau%hotbox.ru@localhost>
>> Release: NetBSD 4.99.28
>> Organization:
>> Environment:
> cc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620)
> System: NetBSD asau.local 4.99.28 NetBSD 4.99.28 (KERN) #17: Thu Aug 9
> 22:17:16 MSD 2007
> root%asau.local@localhost:/usr/obj/sys/arch/i386/compile/KERN i386
> Architecture: i386
> Machine: i386
>> Description:
> The package fails to build, it requires USE_TOOLS+=perl
> and less strict warning treatment.
>> How-To-Repeat:
> cd /usr/pkgsrc/devel/binutils && make
>
> cc -DHAVE_CONFIG_H -I. -I.././gas -I. -D_GNU_SOURCE -I. -I.././gas
> -I../bfd -I.././gas/config -I.././gas/../include -I.././gas/..
> -I.././gas/../bfd -I.././gas/../intl -I../intl
> -DLOCALEDIR="\"/usr/pkg/share/locale\"" -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Werror -O2 -O3 -march=pentiumpro -mfpmath=sse -msse2
> -c read.c
> cc1: warnings being treated as errors
> read.c: In function 's_comm_internal':
> read.c:1426: warning: 'stopc' may be used uninitialized in this
> function
> *** [read.o] Error code 1
>> Fix:
> 1. Run 'make USE_TOOLS=perl CFLAGS="-Wuninitialized -O"', or
> 2. Add to Makefile following assignments:
> "USE_TOOLS+=perl", "CFLAGS+=-Wuninitialized -O", or
> 3. Patch problematic source or make files.
>
Note:
`-O3' options set turns on the -finline-functions,
that probably leads to failure.
Please try to build devel/binutils without optimization flags
(or use only flags received from devel/cpuflags package).
Kind regards,
--
Yakovetsky Vladimir
Home |
Main Index |
Thread Index |
Old Index