This is the mail archive of the gcc-patches@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]

Re: libtool litter


> On May 14, 2001, Alexandre Oliva <aoliva@redhat.com> wrote:
> Actually, make it:
> 
>           exec_cmd='"$cmd"$args'

Alexandre, I am a bit hung up in trying to test this change to ltmain.sh.

I tried building the 3.0 branch with the new eh merge.  However, the build
fails under hppa1.1-hp-hpux10.20 with this error:

/xxx/gnu/gcc-3.0/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.0/objdir/gcc/ -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /usr/local/hppa1.1-hp-hpux10.20/include  -threads -I.  -I/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include -DHAVE_CONFIG_H     -o /xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src/gen-num-limits ../../../../libstdc++-v3/src/gen-num-limits.cc
<internal>:0: Internal error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gen-num-limits failed to build, exiting.
mknumeric_limits failed to execute properly: exiting
make: *** [configure-target-libstdc++-v3] Error 1
Mon May 14 09:59:16 EDT 2001

The problem appears to be that assemble_external is called prior to the
assembler output file being opened:

Breakpoint 14, assemble_external (decl=0x7adcd138) at ../../gcc/varasm.c:1637
1637              SYMBOL_REF_USED (XEXP (rtl, 0)) = 1;
(gdb) p asm_out_file
$1 = (FILE *) 0x0

The PA port actually does real output when assemble_external is called.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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