From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23152 invoked by alias); 7 Nov 2012 07:36:38 -0000 Received: (qmail 20962 invoked by uid 48); 7 Nov 2012 07:36:21 -0000 From: "alexpux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/55225] New: Fail to build lgammaq.c from trunk with mingw-w64 Date: Wed, 07 Nov 2012 07:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexpux 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: 2012-11/txt/msg00545.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55225 Bug #: 55225 Summary: Fail to build lgammaq.c from trunk with mingw-w64 Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libquadmath AssignedTo: unassigned@gcc.gnu.org ReportedBy: alexpux@gmail.com Mingw-w64 doesn't have declared signgam in that leads to an error: depbase=`echo math/lgammaq.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile /temp/x64-trunk-snapshot-posix-seh-rev0/build/gcc-trunk/./gcc/xgcc -B/temp/x64-trunk-snapshot-posix-seh-rev0/build/gcc-trunk/./gcc/ -L/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/lib -L/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/mingw/lib -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/include -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/mingw/include -B/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/bin/ -B/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/lib/ -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/include -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/sys-include -DHAVE_CONFIG_H -I. -I../../../../../mingw-sources/gcc-trunk/libquadmath -g -O2 -pipe -fomit-frame-pointer -I/temp/x64-trunk-snapshot-posix-seh-rev0/libs/include -I/temp/mingw-prereq/x86_64-w64-mingw32-static/include -MT math/lgammaq.lo -MD -MP -MF $depbase.Tpo -c -o math/lgammaq.lo ../../../../../mingw-sources/gcc-trunk/libquadmath/math/lgammaq.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: /temp/x64-trunk-snapshot-posix-seh-rev0/build/gcc-trunk/./gcc/xgcc -B/temp/x64-trunk-snapshot-posix-seh-rev0/build/gcc-trunk/./gcc/ -L/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/lib -L/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/mingw/lib -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/include -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/mingw/include -B/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/bin/ -B/temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/lib/ -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/include -isystem /temp/x64-trunk-snapshot-posix-seh-rev0/prefix/x86_64-w64-mingw32/sys-include -DHAVE_CONFIG_H -I. -I../../../../../mingw-sources/gcc-trunk/libquadmath -g -O2 -pipe -fomit-frame-pointer -I/temp/x64-trunk-snapshot-posix-seh-rev0/libs/include -I/temp/mingw-prereq/x86_64-w64-mingw32-static/include -MT math/lgammaq.lo -MD -MP -MF math/.deps/lgammaq.Tpo -c ../../../../../mingw-sources/gcc-trunk/libquadmath/math/lgammaq.c -DDLL_EXPORT -DPIC -o math/.libs/lgammaq.o ../../../../../mingw-sources/gcc-trunk/libquadmath/math/lgammaq.c: In function 'lgammaq': ../../../../../mingw-sources/gcc-trunk/libquadmath/math/lgammaq.c:763:3: error: 'signgam' undeclared (first use in this function) signgam = 1; ^ ../../../../../mingw-sources/gcc-trunk/libquadmath/math/lgammaq.c:763:3: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [math/lgammaq.lo] Error 1 make[3]: Leaving directory `/temp/x64-trunk-snapshot-posix-seh-rev0/build/gcc-trunk/x86_64-w64-mingw32/libquadmath'