public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3
@ 2003-07-25  7:01 liadi at savantis dot com
  2003-07-25 15:47 ` [Bug bootstrap/11668] " pinskia at physics dot uc dot edu
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: liadi at savantis dot com @ 2003-07-25  7: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=11668

           Summary: Make error on HPUX with gcc3.3
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: liadi at savantis dot com
                CC: gcc-bugs at gcc dot gnu dot org

I'm trying to compile gcc 3.3.
machine: hp-ux B.11.00 A 9000/800
make version: 3.8
configuration: ../configure --prefix=/opt --enable-threads=posix
make: make bootstrap

after something like 40 min. of compilation I get this error:
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/tmp/gcc-3.3/obj/gcc'
make: *** [bootstrap] Error 2

it appear after these lines:
java/jcf-depend.o differs
java/jcf-dump.o differs
java/jcf-io.o differs
java/jcf-parse.o differs
java/jcf-path.o differs
java/jcf-write.o differs
java/jv-scan.o differs
java/jvgenmain.o differs
java/lang.o differs
java/mangle.o differs
java/mangle_name.o differs
java/parse-scan.o differs
java/parse.o differs
java/typeck.o differs
java/verify.o differs
java/win32-host.o differs
java/xref.o differs
java/zextract.o differs


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
@ 2003-07-25 15:47 ` pinskia at physics dot uc dot edu
  2003-07-26  5:58 ` liadi at savantis dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 15:47 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=11668


pinskia at physics dot uc dot edu changed:

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


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-25 15:47 -------
Is there more files in the list which differs?
Also can you read <http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux10>?
>From that page:
The HP assembler on these systems has some problems. Most notably the assembler 
inserts timestamps into each object file it creates, causing the 3-stage comparison test to 
fail during a make bootstrap. You should be able to continue by saying make all after 
getting the failure from make bootstrap.


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
  2003-07-25 15:47 ` [Bug bootstrap/11668] " pinskia at physics dot uc dot edu
@ 2003-07-26  5:58 ` liadi at savantis dot com
  2003-07-26  6:46 ` dhazeghi at yahoo dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: liadi at savantis dot com @ 2003-07-26  5:58 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=11668



------- Additional Comments From liadi at savantis dot com  2003-07-26 05:58 -------
I tried doing make all like the suggestion above  and get this error:
(Bundled) cc: "../../fastjar/jartool.c", line 1862: error 1552: First 
expression
 of ?: must be arithmetic.
(Bundled) cc: "../../fastjar/jartool.c", line 1862: warning 563: Argument #3 is
not the correct type.
(Bundled) cc: "../../fastjar/jartool.c", line 1866: error 1549: Modifiable 
lvalu
e required for assignment operator.
(Bundled) cc: "../../fastjar/jartool.c", line 1876: error 1705: Function 
prototy
pes are an ANSI feature.
(Bundled) cc: "../../fastjar/jartool.c", line 1892: error 1705: Function 
prototy
pes are an ANSI feature.
(Bundled) cc: "../../fastjar/jartool.c", line 1947: error 1705: Function 
prototy
pes are an ANSI feature.
make[1]: *** [jartool.o] Error 1
make[1]: Leaving directory `/tmp/gcc-3.3/obj/fastjar'
make: *** [all-fastjar] Error 2

it's only the end of a longer list


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
  2003-07-25 15:47 ` [Bug bootstrap/11668] " pinskia at physics dot uc dot edu
  2003-07-26  5:58 ` liadi at savantis dot com
@ 2003-07-26  6:46 ` dhazeghi at yahoo dot com
  2003-07-26  7:01 ` neroden at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-26  6:46 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=11668



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-26 06:46 -------
Looks like we need to make the documentation clear on this.

If you want use make bootstrap (which is generally preferable), you need to install GNU binutils, 
and tell gcc where they are installed (with the --with-gnu-as --with-as= options.

If you want use to use make and the bundled compiler, you'll need to disable java: --enable-
languages=c,c++,f77,objc

If you use HP's ANSI c compiler, you should be fine doing make with all languages enabled.

Please report whether these work.


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (2 preceding siblings ...)
  2003-07-26  6:46 ` dhazeghi at yahoo dot com
@ 2003-07-26  7:01 ` neroden at gcc dot gnu dot org
  2003-07-27  7:39 ` liadi at savantis dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-26  7: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=11668



------- Additional Comments From neroden at gcc dot gnu dot org  2003-07-26 07:01 -------
Note that GCC 3.4 won't support building with HP's bundled compiler at all.

If you don't have HP's ANSI C compiler, consider getting a binary copy of
some version of GCC and using that to build GCC 3.3 with.

But GCC 3.3 is supposed to build (without Java) using HP's bundled compiler, under some circumstances, if the phase of the moon is right.  ;-)


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (3 preceding siblings ...)
  2003-07-26  7:01 ` neroden at gcc dot gnu dot org
@ 2003-07-27  7:39 ` liadi at savantis dot com
  2003-07-27 15:50 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: liadi at savantis dot com @ 2003-07-27  7:39 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=11668



------- Additional Comments From liadi at savantis dot com  2003-07-27 07:39 -------
I used --enable-languages=c,c++,f77,objc
and got the following error message:

cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled
as: error 7403: undefined label - _ZTISt8bad_cast (7403)
make[3]: *** [eh_aux_runtime.lo] Error 1
make[3]: Leaving directory `/tmp/gcc-3.3/obj/hppa2.0w-hp-hpux11.00/libstdc++-
v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gcc-3.3/obj/hppa2.0w-hp-hpux11.00/libstdc++-
v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/gcc-3.3/obj/hppa2.0w-hp-hpux11.00/libstdc++-
v3'
make: *** [all-target-libstdc++-v3] Error 2


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (4 preceding siblings ...)
  2003-07-27  7:39 ` liadi at savantis dot com
@ 2003-07-27 15:50 ` dhazeghi at yahoo dot com
  2003-07-27 16:19 ` liadi at savantis dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 15:50 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=11668



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-27 15:50 -------
Oops, this looks like PR 8512 (http://gcc.gnu.org/PR8512). Well, for now, the only solution is 
to use GNU binutils. Can you check whether that works for you? Note that you'll have to do --with-
gnu-as --with-as=/path/to/gnu/assembler when configuring gcc.


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (5 preceding siblings ...)
  2003-07-27 15:50 ` dhazeghi at yahoo dot com
@ 2003-07-27 16:19 ` liadi at savantis dot com
  2003-08-05 23:45 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: liadi at savantis dot com @ 2003-07-27 16:19 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

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

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



------- Additional Comments From liadi at savantis dot com  2003-07-27 16:19 -------
I tried to use the binutils as follow:
../configure –prefix=/opt –enable-threads=posix –enable-
languages=c,c++,f77,objc –with-gnu-as –with-as=/usr/local/bin –with-gnu-ld –
with-as=/usr/local/bin
but then I'll get the error message:
/usr/lib/dld.sl: Can't find path for shared library: libfl.sl
/usr/lib/dld.sl: No such file or directory
make[1]: *** [libiberty.a] IOT trap (core dumped)
make[1]: Leaving directory `/tmp/gcc-3.2.2/obj/libiberty'
make: *** [all-libiberty] Error 2

I'm using version 3.2 of gcc


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (6 preceding siblings ...)
  2003-07-27 16:19 ` liadi at savantis dot com
@ 2003-08-05 23:45 ` pinskia at physics dot uc dot edu
  2003-08-06 20:50 ` pinskia at physics dot uc dot edu
  2003-08-10  2:27 ` danglin at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 23:45 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=11668


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (7 preceding siblings ...)
  2003-08-05 23:45 ` pinskia at physics dot uc dot edu
@ 2003-08-06 20:50 ` pinskia at physics dot uc dot edu
  2003-08-10  2:27 ` danglin at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 20:50 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=11668


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug bootstrap/11668] Make error on HPUX with gcc3.3
  2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
                   ` (8 preceding siblings ...)
  2003-08-06 20:50 ` pinskia at physics dot uc dot edu
@ 2003-08-10  2:27 ` danglin at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-08-10  2:27 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=11668


danglin at gcc dot gnu dot org changed:

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


------- Additional Comments From danglin at gcc dot gnu dot org  2003-08-10 02:26 -------
1) Regarding the initial report, it should have been possible to continue the
   build after the comparison failure with a simple `make'.  This is documented
   in the installation notes.  I would recommend that you start exactly
   as you did except add `--enable-languages=c' to your initial
   configure command.  When you get the comparison failure, just continue
   with `make'.  If that completes successfully, install the C compiler.
   Use this compiler to build and install binutils.  Then, rebuild GCC with
   all the languages that you want.  For this, specify `--with-gnu-as' and
   `--with-as=/path-to-gas/as'.  Another route is to build binutils with the
   HP compiler.  After binutils is installed, there are numerous reports
   in the gcc-testresults list that show how to configure for a successful
   build.  If you already have GCC and binutils installed, look at one of
   these reports to see how to build 3.3 or 3.3.1.  There were a couple
   posted yesterday.

2) As noted in comment #6, there is an unresolved problem using the HP
   assembler with C++.  It should work with C, Fortran and Objective C.  Java
   is NOT currently supported on the PA although the compiler builds.  A port
   for libffi is missing and as a result the java library can't be built.

3) It is HIGHLY recommended that the GNU assembler be used.  Read the
   installation notes.  The HP assembler doesn't provide weak symbol support,
   etc., etc.  This is very important when using C++.

4) Dara's comment in #6 misled you.  --with-as and --with-ld must specify
   the complete path to the executable (e.g., --with-ld=/usr/ccs/bin/ld).
   There also isn't a GNU ld port for the HP SOM port.  This is because of
   the unique nature of the SOM object format.  Thus, don't specify
   `-with-gnu-ld' on the 32-bit HP-UX port unless you have somehow managed
   to port GNU ld to it.

5) I don't recommend just using `make' to build GCC unless you are building
   a cross compiler.  Use `make bootstrap'.

6) There is more info in the installation documentation about required HP
   patches, make, sed, etc.

I am closing this PR because there isn't anything new in this report.


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

end of thread, other threads:[~2003-08-10  2:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25  7:01 [Bug bootstrap/11668] New: Make error on HPUX with gcc3.3 liadi at savantis dot com
2003-07-25 15:47 ` [Bug bootstrap/11668] " pinskia at physics dot uc dot edu
2003-07-26  5:58 ` liadi at savantis dot com
2003-07-26  6:46 ` dhazeghi at yahoo dot com
2003-07-26  7:01 ` neroden at gcc dot gnu dot org
2003-07-27  7:39 ` liadi at savantis dot com
2003-07-27 15:50 ` dhazeghi at yahoo dot com
2003-07-27 16:19 ` liadi at savantis dot com
2003-08-05 23:45 ` pinskia at physics dot uc dot edu
2003-08-06 20:50 ` pinskia at physics dot uc dot edu
2003-08-10  2:27 ` danglin 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).