This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/7882: HP bootstrap failure when building on PA 2.0 for PA 1.1


>Number:         7882
>Category:       bootstrap
>Synopsis:       HP bootstrap failure when building on PA 2.0 for PA 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 10 09:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     dacut@neolinear.com
>Release:        gcc-3.2
>Organization:
>Environment:
HP-UX packard B.11.11 U 9000/785 2002930816 unlimited-user license
Build host is HPPA2.0, but building for HPPA1.1.
>Description:
bootstrapping fails on our HP-UX boxes (which have a PA2.0 processor, but we're building for PA1.1 for compatibility) because __gcc_plt_call (defined in gcc-3.2/gcc/config/pa/lib2funcs.asm) is missing from
libgcc.a.

It appears to be a bug in the configuration step; lib2funcs.asm is missing from all of the generated makefiles, regardless of the version of as (gas, HP as, etc.) used.

Using GNU make 3.79.1, configuring with (one sample):

../gcc-3.2/configure
 --prefix=/space/devtools/gcc-3.2-hppa-hpux
 --enable-languages=c,c++,f77,java
 --with-gnu-as
 --with-as=/space/devtools/binutils-2.13-hppa-hpux/bin/as
 --enable-threads=posix
 --disable-multili
 hppa1.1-hpux

(Same results if --gas and --with-as are removed)

After the stage1 compiler is built, I receive the following error when stage2 compilation starts:
/usr/bin/ld: Unsatisfied symbols:
   __gcc_plt_call (first referenced in
/zone/dacut/build.hpux11/obj-gcc/gcc/libgcc.a(__main.o)) (code)
>How-To-Repeat:

>Fix:
Configure for PA 2.0, or manually build lib2funcs.asm after each stage and add it to libgcc.a.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]