public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12098] New: error: invalid switch '-x'
@ 2003-08-28 23:30 gcc-bug at bullseye dot com
  2003-08-29 17:19 ` [Bug bootstrap/12098] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gcc-bug at bullseye dot com @ 2003-08-28 23:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: error: invalid switch '-x'
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bug at bullseye dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: ia64-hp-hpux11.22

When building GCC C and C++ with HP C A.05.50, the "make bootstrap" fails with:

./xgcc -B./ -B/usr/local/ia64-hp-hpux11.22/bin/ -isystem /usr/local/ia64-hp-
hpux11.22/include -isystem /usr/local/ia64-hp-hpux11.22/sys-include -O2  -
DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -
isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -
I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -mlp64 -
DL__divdf3 -xassembler-with-cpp -c ../../gcc/config/ia64/lib1funcs.asm -o 
libgcc/hpux64/__divdf3.o
error: error: invalid invalid switch '-x'
switch '-x'

I used no "configure" options and I have no version of GCC installed.


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

* [Bug bootstrap/12098] error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
@ 2003-08-29 17:19 ` pinskia at gcc dot gnu dot org
  2003-08-30 15:01 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-29 17:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-29 17:19 -------
Can you run this in the objdir/gcc and add the -v option to the end of the command?


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

* [Bug bootstrap/12098] error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
  2003-08-29 17:19 ` [Bug bootstrap/12098] " pinskia at gcc dot gnu dot org
@ 2003-08-30 15:01 ` pinskia at gcc dot gnu dot org
  2003-09-02 15:23 ` gcc-bug at bullseye dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-30 15:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-30 15:01 -------
Are you using GNU binutils, if not that is your problem.
>From <http://gcc.gnu.org/install/specific.html#ia64-*-hpux*>:
Building GCC on this target requires the GNU Assembler. The bundled HP assembler will not work. 
To prevent GCC from using the wrong assembler, the option --with-gnu-as may be necessary.     

The GCC libunwind library has not been ported to HPUX. This means that for GCC versions 3.2.3 
and earlier, --enable-libunwind-exceptions is required to build GCC. For GCC 3.3 and later, this is 
the default.


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

* [Bug bootstrap/12098] error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
  2003-08-29 17:19 ` [Bug bootstrap/12098] " pinskia at gcc dot gnu dot org
  2003-08-30 15:01 ` pinskia at gcc dot gnu dot org
@ 2003-09-02 15:23 ` gcc-bug at bullseye dot com
  2003-11-08 21:26 ` [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: " dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gcc-bug at bullseye dot com @ 2003-09-02 15:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


gcc-bug at bullseye dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1


------- Additional Comments From gcc-bug at bullseye dot com  2003-09-02 15:23 -------
The configure script ought not allow building GCC if the assembler is no 
good.  It should stop with an error stating the requirement for GNU as.


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

* [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
                   ` (2 preceding siblings ...)
  2003-09-02 15:23 ` gcc-bug at bullseye dot com
@ 2003-11-08 21:26 ` dhazeghi at yahoo dot com
  2004-02-08  3:30 ` pinskia at gcc dot gnu dot org
  2004-02-08  4:32 ` zack at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-08 21:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-08 21:26 -------
I've asked the list, and we'll see what they say. It may be too difficult to
make such a check, but if not, this certainly seems like a good idea to me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhazeghi at yahoo dot com
           Severity|normal                      |enhancement
            Summary|error: invalid switch '-x'  |gcc build fails without gas
                   |                            |on ia64-hpux: error: invalid
                   |                            |switch '-x'


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


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

* [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
                   ` (3 preceding siblings ...)
  2003-11-08 21:26 ` [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: " dhazeghi at yahoo dot com
@ 2004-02-08  3:30 ` pinskia at gcc dot gnu dot org
  2004-02-08  4:32 ` zack at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-08  3:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-08 03:30 -------
Zack an HPUX IA64 issue.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zack at gcc dot gnu dot org


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


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

* [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: error: invalid switch '-x'
  2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
                   ` (4 preceding siblings ...)
  2004-02-08  3:30 ` pinskia at gcc dot gnu dot org
@ 2004-02-08  4:32 ` zack at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-02-08  4:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2004-02-08 04:32 -------
Yes, as far as I know GAS is required.  I have no idea how hard it would be to
check for this.


-- 


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


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

end of thread, other threads:[~2004-02-08  4:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 23:30 [Bug bootstrap/12098] New: error: invalid switch '-x' gcc-bug at bullseye dot com
2003-08-29 17:19 ` [Bug bootstrap/12098] " pinskia at gcc dot gnu dot org
2003-08-30 15:01 ` pinskia at gcc dot gnu dot org
2003-09-02 15:23 ` gcc-bug at bullseye dot com
2003-11-08 21:26 ` [Bug bootstrap/12098] gcc build fails without gas on ia64-hpux: " dhazeghi at yahoo dot com
2004-02-08  3:30 ` pinskia at gcc dot gnu dot org
2004-02-08  4:32 ` zack at gcc dot gnu dot 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).