From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10302 invoked by alias); 21 Jan 2013 04:11:45 -0000 Received: (qmail 6973 invoked by uid 48); 21 Jan 2013 04:11:24 -0000 From: "lailavrazda1979 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/56057] New: libbacktrace STILL doesn't honor --disable-werror Date: Mon, 21 Jan 2013 04:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lailavrazda1979 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg01922.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56057 Bug #: 56057 Summary: libbacktrace STILL doesn't honor --disable-werror Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: lailavrazda1979@gmail.com libbacktrace is not honoring --disable-werror and using -fPIC, causing a warning (which is promoted to an error) when building a native compiler for x86_64-w64-mingw32. This happens with revision 195330, the latest, as of this writing. Errors below: libtool: compile: x86_64-w64-mingw32-gcc -L/root/win64-build/native/x86_64-w64-mingw32/lib -L/root/win64-build/native/mingw/lib -isystem /root/win64-build/native/x86_64-w64-mingw32/include -isystem /root/win64-build/native/mingw/include -DHAVE_CONFIG_H -I. -I../../../gcc-4.8.0/libbacktrace -I ../../../gcc-4.8.0/libbacktrace/../include -I ../../../gcc-4.8.0/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -fPIC -g -O2 -c ../../../gcc-4.8.0/libbacktrace/dwarf.c -o dwarf.o ../../../gcc-4.8.0/libbacktrace/dwarf.c:1:0: error: -fPIC ignored for target (all code is position independent) [-Werror] /* dwarf.c -- Get file/line information from DWARF for backtraces. ^ cc1: all warnings being treated as errors make[3]: *** [dwarf.lo] Error 1 make[3]: Leaving directory `/root/win64-build/src/gcc-build/x86_64-w64-mingw32/libbacktrace' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/win64-build/src/gcc-build/x86_64-w64-mingw32/libbacktrace' make[1]: *** [all-target-libbacktrace] Error 2 make[1]: Leaving directory `/root/win64-build/src/gcc-build' make: *** [all] Error 2