public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "alexpux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-55225-4@http.gcc.gnu.org/bugzilla/> (raw)


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 <math.h> 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'


             reply	other threads:[~2012-11-07  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07  7:36 alexpux at gmail dot com [this message]
2012-11-21  8:03 ` [Bug libquadmath/55225] " alexpux at gmail dot com
2012-11-21  8:09 ` i.nixman at gmail dot com
2012-11-21 11:54 ` ktietz at gcc dot gnu.org
2012-11-21 13:47 ` burnus at gcc dot gnu.org
2012-11-21 13:49 ` burnus at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55225-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).