public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63966] New: [5 regression] inconsistent operand constraints compiling build libcpp
@ 2014-11-19 14:41 ro at gcc dot gnu.org
  2014-11-19 14:41 ` [Bug bootstrap/63966] " ro at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: ro at gcc dot gnu.org @ 2014-11-19 14:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63966

            Bug ID: 63966
           Summary: [5 regression] inconsistent operand constraints
                    compiling build libcpp
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: ubizjak at gmail dot com
              Host: i386-apple-darwin14.0.0
            Target: i386-apple-darwin14.0.0
             Build: i386-apple-darwin14.0.0

Bootstrapping Darwin/i386 (non-default 32-bit configuration) with gcc 4.9.1 
FAILs compiling the stage1 build libcpp:

g++ -m32  -I/vol/gcc/src/hg/trunk/local/libcpp -I.
-I/vol/gcc/src/hg/trunk/local/libcpp/../include
-I/vol/gcc/src/hg/trunk/local/libcpp/include  -g -O2 -W -Wall -Wno-narrowing
-Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long 
-fno-exceptions -fno-rtti -I/vol/gcc/src/hg/trunk/local/libcpp -I.
-I/vol/gcc/src/hg/trunk/local/libcpp/../include
-I/vol/gcc/src/hg/trunk/local/libcpp/include   -c -o lex.o -MT lex.o -MMD -MP
-MF .deps/lex.Tpo /vol/gcc/src/hg/trunk/local/libcpp/lex.c
In file included from /vol/gcc/src/hg/trunk/local/libcpp/lex.c:474:0:
/vol/gcc/src/hg/trunk/local/libcpp/../gcc/config/i386/cpuid.h: In function
'void _cpp_init_lexer()':
/vol/gcc/src/hg/trunk/local/libcpp/../gcc/config/i386/cpuid.h:209:46: error:
inconsistent operand constraints in an 'asm'
   __cpuid (__ext, __eax, __ebx, __ecx, __edx);
                                              ^
/vol/gcc/src/hg/trunk/local/libcpp/../gcc/config/i386/cpuid.h:232:52: error:
inconsistent operand constraints in an 'asm'
   __cpuid (__level, *__eax, *__ebx, *__ecx, *__edx);
                                                    ^
make: *** [lex.o] Error 1

This was caused by the following patch:

2014-10-17  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/cpuid.h (__cpuid): Remove definitions that handle %ebx
    register in a special way.
    (__cpuid_count): Ditto.
    * config/i386/driver-i386.h: Protect with
    "#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))".
    (host_detect_local_cpu): Mention that GCC with non-fixed %ebx
    is required to compile the function.

Darwin/x86_64 isn't affected.

  Rainer


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-11-20 12:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 14:41 [Bug bootstrap/63966] New: [5 regression] inconsistent operand constraints compiling build libcpp ro at gcc dot gnu.org
2014-11-19 14:41 ` [Bug bootstrap/63966] " ro at gcc dot gnu.org
2014-11-19 14:48 ` [Bug target/63966] " rguenth at gcc dot gnu.org
2014-11-19 14:58 ` ubizjak at gmail dot com
2014-11-19 19:28 ` ubizjak at gmail dot com
2014-11-19 21:03 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-11-20 10:09 ` jakub at gcc dot gnu.org
2014-11-20 10:44 ` uros at gcc dot gnu.org
2014-11-20 10:50 ` ubizjak at gmail dot com
2014-11-20 11:02 ` ubizjak at gmail dot com
2014-11-20 11:08 ` jakub at gcc dot gnu.org
2014-11-20 11:10 ` ubizjak at gmail dot com
2014-11-20 12:10 ` uros at gcc dot gnu.org
2014-11-20 12:15 ` ubizjak at gmail dot com

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).