|
Message-ID: <BANLkTik8v0xqd3vm=f_0yfk_FaStNUv2Hg@mail.gmail.com>
Date: Sat, 4 Jun 2011 14:23:52 +0300
From: Georgi Geshev <root@...k-labs.exploits-bg.com>
To: owl-dev@...ts.openwall.com
Subject: Re: gcc update
Hello,
Here's an issue that I would like to discuss with you -
There are several GCC -Wunused-* flags combined with -Werror that cause
various packages not to build properly. For example, here's an excerpt from
the elfutils-libelf build log -
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I. -I../lib -I.. -Wall
-Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 -pipe -march=i686
-O2 -fomit-frame-pointer -mpreferred-stack-boundary=2 -MT elf_fill.o -MD -MP
-MF .deps/elf_fill.Tpo -c -o elf_fill.o elf_fill.c
mv -f .deps/elf_fill.Tpo .deps/elf_fill.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I. -I../lib -I.. -Wall
-Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 -pipe -march=i686
-O2 -fomit-frame-pointer -mpreferred-stack-boundary=2 -MT elf_begin.o -MD
-MP -MF .deps/elf_begin.Tpo -c -o elf_begin.o elf_begin.c
common.h:115:1: error: 'libelf_acquire_all' defined but not used
[-Werror=unused-function]
common.h:134:1: error: 'libelf_release_all' defined but not used
[-Werror=unused-function]
cc1: all warnings being treated as errors
make[1]: *** [elf_begin.o] Error 1
make[1]: Leaving directory
`/usr/src/world/rpm-work-11/BUILD/elfutils-0.131/libelf'
error: Bad exit status from /usr/src/world/tmp-work/rpm-tmp.47087 (%build)
How should I proceed? Should I prepare and apply an appropriate patch or
maybe remove / replace the offensive flags.
Regards,
Georgi
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.