public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
@ 2011-11-11 12:38 omjiomer at gmail dot com
  2011-11-11 13:05 ` [Bug other/51093] " mikpe at it dot uu.se
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: omjiomer at gmail dot com @ 2011-11-11 12:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

             Bug #: 51093
           Summary: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as
                    undefined
    Classification: Unclassified
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: omjiomer@gmail.com


I've downloaded gcc 4.4.3 tar-ball package.
Configured and build as follows for host-x86_64-unknown-linux-gnu:
    <./configure --prefix=$HOME/install/dir/ --enable-languages=c++>
    <make bootstrap>

It gave following error. Am I missing something while configuring or build??
Most likely it's not a bug, but I couldn't find a better place to post my
query.
Any help or suggestion will be highly appreciated.

Error:
=======
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE
-I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include
-I../.././gcc/../libcpp/include -I/usr/intel/pkgs/libgmp/4.3.0/include
-I/usr/intel/pkgs/libgmp/4.3.0/include -I/usr/intel/pkgs/libmpfr/2.4.1/include
-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid
-I../libdecnumber    -o build/gencondmd.o build/gencondmd.c
../.././gcc/config/i386/sse.md:11515: error: 'OPTION_ISA_AES' undeclared here
(not in a function)
../.././gcc/config/i386/sse.md:11516: warning: missing initializer
../.././gcc/config/i386/sse.md:11516: warning: (near initialization for
'insn_conditions[0].value')
../.././gcc/config/i386/i386.md:2457: error: 'OPTION_ISA_64BIT' undeclared here
(not in a function)
../.././gcc/config/i386/i386.md:2458: warning: missing initializer
../.././gcc/config/i386/i386.md:2458: warning: (near initialization for
'insn_conditions[1].value')
../.././gcc/config/i386/sse.md:4013: error: 'OPTION_ISA_SSE3' undeclared here
(not in a function)
../.././gcc/config/i386/sse.md:4014: warning: missing initializer
../.././gcc/config/i386/sse.md:4014: warning: (near initialization for
'insn_conditions[4].value')
../.././gcc/config/i386/sse.md:205: error: 'OPTION_ISA_SSE' undeclared here
(not in a function)
../.././gcc/config/i386/sse.md:208: warning: missing initializer
../.././gcc/config/i386/sse.md:208: warning: (near initialization for
'insn_conditions[7].value')
../.././gcc/config/i386/sse.md:591: error: 'OPTION_ISA_AVX' undeclared here
(not in a function)
../.././gcc/config/i386/sse.md:593: warning: missing initializer
../.././gcc/config/i386/sse.md:593: warning: (near initialization for
'insn_conditions[8].value')
../.././gcc/config/i386/sse.md:343: warning: missing initializer
../.././gcc/config/i386/sse.md:343: warning: (near initialization for
'insn_conditions[9].value')
../.././gcc/config/i386/i386.md:4757: error: 'OPTION_ISA_SSE2' undeclared here
(not in a function)
../.././gcc/config/i386/i386.md:4758: warning: missing initializer
../.././gcc/config/i386/i386.md:4758: warning: (near initialization for
'insn_conditions[10].value')
../.././gcc/config/i386/i386.md:7579: warning: missing initializer
../.././gcc/config/i386/i386.md:7579: warning: (near initialization for
'insn_conditions[11].value')
../.././gcc/config/i386/sse.md:10818: error: 'OPTION_ISA_SSE5' undeclared here
(not in a function)
../.././gcc/config/i386/sse.md:10821: warning: missing initializer
../.././gcc/config/i386/sse.md:10821: warning: (near initialization for
'insn_conditions[12].value')
../.././gcc/config/i386/i386.md:18808: error: 'TARGET_USE_FANCY_MATH_387'
undeclared here (not in a function)
../.././gcc/config/i386/i386.md:18811: error: 'flag_unsafe_math_optimizations'
undeclared here (not in a function)
../.././gcc/config/i386/i386.md:18812: warning: missing initializer
../.././gcc/config/i386/i386.md:18812: warning: (near initialization for
'insn_conditions[13].value')
../.././gcc/config/i386/i386.md:5988: warning: missing initializer
../.././gcc/config/i386/i386.md:5988: warning: (near initialization for
'insn_conditions[15].value')
../.././gcc/config/i386/i386.md:16252: warning: missing initializer
../.././gcc/config/i386/i386.md:16252: warning: (near initialization for
'insn_conditions[16].value')
../.././gcc/config/i386/sse.md:5985: warning: missing initializer
../.././gcc/config/i386/sse.md:5985: warning: (near initialization for
'insn_conditions[17].value')
../.././gcc/config/i386/mmx.md:715: error: 'OPTION_ISA_MMX' undeclared here
(not in a function)
../.././gcc/config/i386/mmx.md:717: warning: missing initializer
../.././gcc/config/i386/mmx.md:717: warning: (near initialization for
'insn_conditions[18].value')


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

* [Bug other/51093] GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
  2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
@ 2011-11-11 13:05 ` mikpe at it dot uu.se
  2011-11-11 19:56 ` [Bug target/51093] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2011-11-11 13:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-11-11 12:37:28 UTC ---
(In reply to comment #0)
> I've downloaded gcc 4.4.3 tar-ball package.
> Configured and build as follows for host-x86_64-unknown-linux-gnu:
>     <./configure --prefix=$HOME/install/dir/ --enable-languages=c++>
>     <make bootstrap>
> 
> It gave following error.

Don't build in the source directory, always build in a separate object
directory with /path/to/<gcc source>/configure ...


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

* [Bug target/51093] GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
  2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
  2011-11-11 13:05 ` [Bug other/51093] " mikpe at it dot uu.se
@ 2011-11-11 19:56 ` pinskia at gcc dot gnu.org
  2011-11-11 20:22 ` omjiomer at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-11-11 19:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-11-11
          Component|other                       |target
     Ever Confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-11 19:25:04 UTC ---
What happens if you don't build in the same directory as the source directory?


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

* [Bug target/51093] GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
  2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
  2011-11-11 13:05 ` [Bug other/51093] " mikpe at it dot uu.se
  2011-11-11 19:56 ` [Bug target/51093] " pinskia at gcc dot gnu.org
@ 2011-11-11 20:22 ` omjiomer at gmail dot com
  2011-11-12 13:39 ` mikpe at it dot uu.se
  2012-01-06  0:39 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: omjiomer at gmail dot com @ 2011-11-11 20:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

--- Comment #3 from Om Ji Omer <omjiomer at gmail dot com> 2011-11-11 20:07:15 UTC ---
Also had tried building in completely separate repository.
But getting the same error.


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

* [Bug target/51093] GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
  2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
                   ` (2 preceding siblings ...)
  2011-11-11 20:22 ` omjiomer at gmail dot com
@ 2011-11-12 13:39 ` mikpe at it dot uu.se
  2012-01-06  0:39 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2011-11-12 13:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2011-11-12 13:12:05 UTC ---
(In reply to comment #0)
> I've downloaded gcc 4.4.3 tar-ball package.
> Configured and build as follows for host-x86_64-unknown-linux-gnu:
>     <./configure --prefix=$HOME/install/dir/ --enable-languages=c++>
>     <make bootstrap>

I just successfully bootstrapped gcc-4.4.3 on x86_64 (Fedora 13) configured
exactly as indicated above, except I also passed in --with-gmp= and
--with-mpfr= to pick up my locally built gmp/mpfr libraries, and I built in a
separate object directory.

Are you sure you didn't supply any other options to configure?
Ditto for 'make bootstrap'?
Are you sure there were no errors from configure?
Where there any warnings or errors from 'make bootstrap' before the one you
showed here?
What's the host environment (Linux distro, host gcc version, binutils version,
glibc version, how much memory, how much swap)?

> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wcast-qual -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE
> -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include
> -I../.././gcc/../libcpp/include -I/usr/intel/pkgs/libgmp/4.3.0/include
> -I/usr/intel/pkgs/libgmp/4.3.0/include -I/usr/intel/pkgs/libmpfr/2.4.1/include

These paths to /usr/intel/pkgs/ look non-standard.  Where did they come from?


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

* [Bug target/51093] GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined
  2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
                   ` (3 preceding siblings ...)
  2011-11-12 13:39 ` mikpe at it dot uu.se
@ 2012-01-06  0:39 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-06  0:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51093

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-06 00:39:29 UTC ---
No feedback in 3 months so closing.


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

end of thread, other threads:[~2012-01-06  0:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-11 12:38 [Bug other/51093] New: GCC 4.4.3 build fails with 'OPTION_ISA_AES' as undefined omjiomer at gmail dot com
2011-11-11 13:05 ` [Bug other/51093] " mikpe at it dot uu.se
2011-11-11 19:56 ` [Bug target/51093] " pinskia at gcc dot gnu.org
2011-11-11 20:22 ` omjiomer at gmail dot com
2011-11-12 13:39 ` mikpe at it dot uu.se
2012-01-06  0:39 ` pinskia at gcc dot gnu.org

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