good build from current...thanks!

On 11/17/06, Ralf S. Engelschall <[EMAIL PROTECTED]> wrote:

On Fri, Nov 17, 2006, Doug Henry wrote:

> The binutils 2.17 package in stable and current fails to build on many
of my
> systems.  The errors below are very common across my systems.
>
> /local/devel/bin/cc -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="\"/local/devel/share/locale\""
> -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall
-Wstrict-prototypes
> -Wmissing-prototypes -Werror -pipe -O3 -mtune=pentium4
-DOPENPKG_OS_LINUX  -c
> not-strip.c
> /local/devel/bin/cc -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="\"/local/devel/share/locale\""
> -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall
-Wstrict-prototypes
> -Wmissing-prototypes -Werror -pipe -O3 -mtune=pentium4
-DOPENPKG_OS_LINUX  -c
> wrstabs.c
> cc1: warnings being treated as errors
> wrstabs.c: In function 'stab_tag_type':
> wrstabs.c:1297: warning: 'size' is used uninitialized in this function
> make[4]: *** [wrstabs.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-binutils] Error 2
> make: *** [all] Error 2
> error: Bad exit status from /local/devel/RPM/TMP/rpm-tmp.68586 (%build)

Although I've no clue why this warnings occurs just for you (actually
I've looked into the 2.17 source and do not understand why it occurs
at all or not on all platforms), I've disabled this -Werror stuff for
OpenPKG now as we are packaging the software and not developing it. Try
the latest "binutils" from CURRENT and 2-STABLE. The problem should be
now gone.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to