Skip to contentSkip to conversation

problem building glibc from cvs

parisc-linux David Wragg 2 participants 3 messages Mar 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Yesterday I tried to build the toolchain, glibc and kernel following the instructions at <http://www.parisc-linux.org/kernel/>. The build host is linux-i386 (RedHat 7.0 with gcc updates applied). I got the modules out of CVS, and the builds of binutils and gcc went fine, as did the kernel preparation step. But the glibc build failed with this error from gcc:

../sysdeps/unix/sysv/linux/hppa/sysdep.c:35: Internal compiler error in make_dec l_rtl, at varasm.c:597
Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

This happens early in the glibc build process; I think it occurs at the first use of weak_alias encountered. The compiler being used is definitely hppa-linux-gcc.

Does anyone else have this problem, or am I missing something?

(This is my first play with Linux/PARISC, but I'm familiar with building the toolchain, glibc, and the kernel on other platforms).

Dave

#1 lore raw
Quoted 7 lines · David Wragg

But the glibc build failed with this
error from gcc:

../sysdeps/unix/sysv/linux/hppa/sysdep.c:35: Internal compiler error in make_dec l_rtl, at varasm.c:597
Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I've been making some changes to gcc in the last few days as part of preparing to merge upstream. The changes ought to have been innocuous, but it's entirely possible I've made a blue somewhere. I'll see if I can duplicate your problem. More news in an hour or so. Or possibly 8 hours if I give up for the time being and go to bed :-)

Alan

#2 lore raw
Quoted 10 lines · Alan Modra
Quoted 7 lines · David Wragg

But the glibc build failed with this
error from gcc:

../sysdeps/unix/sysv/linux/hppa/sysdep.c:35: Internal compiler error in make_dec l_rtl, at varasm.c:597
Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Quoted 5 lines

I've been making some changes to gcc in the last few days as part of preparing to merge upstream. The changes ought to have been innocuous, but it's entirely possible I've made a blue somewhere. I'll see if I can duplicate your problem. More news in an hour or so. Or possibly 8 hours if I give up for the time being and go to bed :-)

OK, the new failure is a result of me fixing a bug with #include and #define ordering that accidentally disabled dwarf2 debug info for us. The underlying dwarf2 bug has already been fixed upstream, so I'm about to merge in the following to fix it:

2001-03-23 Jim Wilson <[email protected]>
* varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test. (assemble_alias): Call make_decl_rtl.

and this one for good measure

2001-03-26 Jakub Jelinek <[email protected]>
* varasm.c (make_decl_rtl): Don't append var_labelno discriminator to variable names where DECL_NAME is different from DECL_ASSEMBLER_NAME.

Thanks for the report. (easy-to-fix bug reports always welcome!)

Alan

Signature · 1 line
Linuxcare