public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
@ 2003-06-27  1:22 ` pinskia at physics dot uc dot edu
  2003-07-12  3:31 ` neroden at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-27  1:22 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=7548


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-27 01:22:52
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-27 01:22 -------
I think this bug can be closed only when 3.4 gets released since it will be the first gcc 
which requires an ANSI/ISO C compiler.


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
  2003-06-27  1:22 ` [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers pinskia at physics dot uc dot edu
@ 2003-07-12  3:31 ` neroden at gcc dot gnu dot org
  2003-07-12  3:59 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-12  3:31 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=7548


neroden at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


------- Additional Comments From neroden at gcc dot gnu dot org  2003-07-12 03:31 -------
Could you please clarify this report?  We need to know what the errors in bootstrap are with the optional *ANSI* compiler.  The errors with the 
"bundled" compiler are not going to get fixed, and for 3.4 we'll require the ANSI compiler.  But errors bootstrapping with the ANSI compiler, we 
have to fix.


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
  2003-06-27  1:22 ` [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers pinskia at physics dot uc dot edu
  2003-07-12  3:31 ` neroden at gcc dot gnu dot org
@ 2003-07-12  3:59 ` dhazeghi at yahoo dot com
  2003-07-23 13:34 ` martin dot jost at icn dot siemens dot de
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-12  3:59 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=7548


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|dhazeghi at yahoo dot com   |
           Keywords|                            |build


------- Additional Comments From dhazeghi at yahoo dot com  2003-07-12 03:59 -------
The problem looks like the submitter didn't use make bootstrap, hence fastjar is
picking up the wrong compiler, and failing.


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
                   ` (2 preceding siblings ...)
  2003-07-12  3:59 ` dhazeghi at yahoo dot com
@ 2003-07-23 13:34 ` martin dot jost at icn dot siemens dot de
  2003-08-05  1:37 ` neroden at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: martin dot jost at icn dot siemens dot de @ 2003-07-23 13:34 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=7548


martin dot jost at icn dot siemens dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.1.1                       |3.3


------- Additional Comments From martin dot jost at icn dot siemens dot de  2003-07-23 13:34 -------
Hello,

I rechecked, using gcc 3.3. [I changed the version number in the
report accordingly]

These are my findings on HPUX 10.20, using HPs ANSI-C for bootstrapping.
I configured as advised in a separate directory using
export CFLAGS="+DAportable -Ae +O2"
../gcc-3.3/configure -prefix=/pd/gcc3.3 --without-gcc --with-gnu-as --with-
as=/pd/binutils/bin/as --without-gnu-ld --with-local-prefix=/pd/gcc3.3/include -
-enable-languages="c, c++"


First I get some errors from configure:

checking assembler --gstabs support... yes
checking linker read-only and read-write section mixing... conftest1.s: 
Assembler messages:
conftest1.s:1: Warning: rest of line ignored; first ignored character is `"'
conftest2.s: Assembler messages:
conftest2.s:1: Warning: rest of line ignored; first ignored character is `"'
conftest2.s:2: Warning: rest of line ignored; first ignored character is `1'
conftest3.s: Assembler messages:
conftest3.s:1: Warning: rest of line ignored; first ignored character is `"'
conftest3.s:2: Warning: rest of line ignored; first ignored character is `0'
/usr/ccs/bin/ld: (Warning) Can't hide symbol "ared"
/usr/ccs/bin/ld: No $UNWIND_END$ subspace has been defined (probably 
missing /usr/ccs/lib/crt0.o)
unknown
checking linker PT_GNU_EH_FRAME support... no
------------------------------------------
I didn't try to track those down. Suggestions ?

Then I do "make bootstrap"
This yields:
[...]
cc -Wp,-H256000 -c   -g  -DIN_GCC     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-
3.3/gcc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config -I../../gcc-
3.3/gcc/../include ../../gcc-3.3/gcc/ggc-page.c -o ggc-page.o
cc: "../../gcc-3.3/gcc/ggc-page.c", line 191: error 1709: Long double is an 
ANSI feature.
gmake[2]: *** [ggc-page.o] Error 1

This  is caused  by '-Ae"  (In  the CFLAGS  env-var during  configure)
not showing up in the compiler-flags.
Adding -Ae to STAGE1_CFLAGS in gcc/Makefile solves this problem.

Funnily enough, if I look at some compiles sooner during the build, I find -Ae, 
e.g.:
cc -Wp,-H256000 -c -DHAVE_CONFIG_H +DAportable -Ae +O2 -I. -I../../gcc-
3.3/libiberty/../include   ../../gcc-3.3/libiberty/dyn-string.c -o dyn-string.o

But adding -Ae to the CFLAGS in Top-level-Makefile will "make
bootstrap" fail for later stages !
(configure fails, because "compiler can't produce executable !")

So later on I have to remove it again and do a new 'make bootstrap'.
Is there a "correct" way to supply the flags specific to the stage-1
compiler to configure, so they get propagated correctly ?

Other than that the compile and link was successful.

I'm still fighting with tha java-part. (and thus fastjar). I will
update the report, as soon as I get reasonable results.

BTW:
I got some problems when trying to _use_ the resulting g++/stdlib. It
gets upset about missing ios_base::streamoff.
I found PR 7219, which suggest to rebuild with
CXXFLAGS='-D_GLIBCPP_DEPRECATED'. This solved the problem.
Could configure please add this if it finds gcc being compiled on and
for HPUX 10.20 ?!


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
                   ` (3 preceding siblings ...)
  2003-07-23 13:34 ` martin dot jost at icn dot siemens dot de
@ 2003-08-05  1:37 ` neroden at gcc dot gnu dot org
  2003-08-18 16:40 ` danglin at gcc dot gnu dot org
  2003-09-28 21:28 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-08-05  1:37 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=7548



------- Additional Comments From neroden at gcc dot gnu dot org  2003-08-05 01:36 -------
STAGE1_CFLAGS will be passed down if it's defined in the environment at the top level.

Hopefully, if I ever manage to move bootstrap to the top level, that whole issue will vanish. :-/

The C++ deprecation issue means that whatever you're building which uses the
deprecated stuff should be updated to *not* use the deprecated stuff; it's not
HPUX-specific.


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
                   ` (4 preceding siblings ...)
  2003-08-05  1:37 ` neroden at gcc dot gnu dot org
@ 2003-08-18 16:40 ` danglin at gcc dot gnu dot org
  2003-09-28 21:28 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-08-18 16:40 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=7548



------- Additional Comments From danglin at gcc dot gnu dot org  2003-08-18 16:40 -------
1) fastjar problem: don't build java.  Java is not supported on any PA
   port at this time.  This is because we don't have a libffi port.
   Use `--enable-languages=' to explicitly specify the set of languages
   to build.

   As of 3.4, support for building GCC with a non ANSI compiler has been
   dropped.  Thus, it will no longer be possible to build GCC 3.4 and
   later with the bundled HP C compiler.  However, fastjar requires an
   ANSI compiler to build even in earlier versions of GCC.

2) CFLAGS: don't try to use CFLAGS to specify compiler options (e.g.,
   CFLAGS="+DAportable -Ae +O2").  A better way is to use CC (e.g.,
   CC="cc +DAportable -Ae").  This is the preferred technique as the
   config.guess script uses CC for its guess.  You can also use
   STAGE1_FLAGS to set the CFLAGS for stage1 of the bootstrap.


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

* [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers
       [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
                   ` (5 preceding siblings ...)
  2003-08-18 16:40 ` danglin at gcc dot gnu dot org
@ 2003-09-28 21:28 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-28 21:28 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=7548


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-28 21:20 -------
There is nothing new in this bug, every thing is documented in the manual.  Also no 
feedback in 2 months.


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

end of thread, other threads:[~2003-09-28 21:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020809033600.7548.martin.jost@icn.siemens.de>
2003-06-27  1:22 ` [Bug bootstrap/7548] gcc3.1.1 can't be bootstraped on HPUX 10.20 using HP compilers pinskia at physics dot uc dot edu
2003-07-12  3:31 ` neroden at gcc dot gnu dot org
2003-07-12  3:59 ` dhazeghi at yahoo dot com
2003-07-23 13:34 ` martin dot jost at icn dot siemens dot de
2003-08-05  1:37 ` neroden at gcc dot gnu dot org
2003-08-18 16:40 ` danglin at gcc dot gnu dot org
2003-09-28 21:28 ` pinskia 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).