gcc-3.2 experimental debs
Hi Randolph,
I try my hown gcc-3.2 (+ binutils, glibc) against kernel 2.4.18-pa19 (not yet take the risc with pa20).
It compiles as well as with gcc3.0.x. It boots also but as soon as I try to connect it remotly with telnet or ssh (I forget to test ftp) the system crash:
"Stack pointer and cr30 do not correspond!
Dumping virtual address stack instead
Dumping Stack from ... to ...:
...
[those tree line seems to be repeated infinitely. well after 5 minutes I had to unplug the power supply to reboot]
Humm as it appends as well with telnet as ssh I suspect a inetd problem?
Any idea?
Thanks,
Joel
PS: I will try your dpkg asap
Quoted 6 lines · Joel Soete
"Stack pointer and cr30 do not correspond!
Dumping virtual address stack insteadDumping Stack from ... to ...:
Humm as it appends as well with telnet as ssh I suspect a inetd problem?
I'd bet on gcc-3.2 miscompiling something in the network part of the kernel, personally.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 10 lines
Quoted 6 lines
"Stack pointer and cr30 do not correspond!
Dumping virtual address stack insteadDumping Stack from ... to ...:
Humm as it appends as well with telnet as ssh I suspect a inetd problem?
I'd bet on gcc-3.2 miscompiling something in the network part of the kernel, personally.
Tested today.
Happens in the 3.1 main branch aswell (don't remember it previously happening). Maybe I shouldn't be recommending the use of 3.1 as a cross compiler? ;)
I'll kdb on a serial tommorow morning and see what is causing it to die.
Oddly enough, I run diskless systems and they run off NFS perfectly fine... so everything can't be that broke.
c.
Hello Carlos,
Quoting "Carlos O'Donell Jr." <[email protected]>:
Quoted 13 lines
Quoted 6 lines
Quoted 6 lines
"Stack pointer and cr30 do not correspond!
Dumping virtual address stack insteadDumping Stack from ... to ...:
Humm as it appends as well with telnet as ssh I suspect a inetd
problem?
Quoted 2 lines
I'd bet on gcc-3.2 miscompiling something in the network part of the
kernel,
Quoted 2 lines
personally.
Quoted 6 lines
Tested today.
Happens in the 3.1 main branch aswell (don't remember it previously happening).
Maybe I shouldn't be recommending the use of 3.1 as a cross compiler? ;)
I also notice it on 3.1 about two mount ago (that is why I do another try with 3.2)
Quoted 4 lines
I'll kdb on a serial tommorow morning and see what is causing it to die.
I would also to do so. But I had the bad idea to co the last gcc release (yesterday and today) to rebuild the toolchain.
But gcc build seems to be broken (step 4.2 of your procedure):
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava
-I/GNU-Dev/parisc-linux/src/gcc/gcc -I/GNU-Dev/parisc-linux/src/gcc/gcc/java -I/GNU-Dev/parisc-linux/src/gcc/gcc/config -I/GNU-Dev/parisc-linux/src/gcc/gcc/../include /GNU-Dev/parisc-linux/src/gcc/gcc/java/parse.c -o java/parse.o /tmp/ccj2Nlrs.s: Assembler messages:/tmp/ccj2Nlrs.s:148746: Error: Field out of range [-262144..262143] (-263392). make[1]: *** [java/parse.o] Error 1
make[1]: Leaving directory `/GNU-Dev/parisc-linux/build/gcc/gcc'
make: *** [all-gcc] Error 2
Last week co did not try to build any java.
Any idea or work-around?
Joel
PS1: about step 4.2 of your howto-xc, I notice a small difference between html and pdf (in html you use gcc option "enable-shared" in pdf "disable-shared"). But this not the cause of the above problem.
PS2: I also make an apt-get dist-upgrade (with ftp.de.debian.org) so that native gcc is now 3.0.4-5 (I think it was already installed last week)
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoted 16 lines
I would also to do so. But I had the bad idea to co the last gcc release (yesterday and today) to rebuild the toolchain.
But gcc build seems to be broken (step 4.2 of your procedure):gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
(quoted diff) +0
-4-Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I/GNU-Dev/parisc-linux/src/gcc/gcc -I/GNU-Dev/parisc-linux/src/gcc/gcc/java -I/GNU-Dev/parisc-linux/src/gcc/gcc/config -I/GNU-Dev/parisc-linux/src/gcc/gcc/../include/GNU-Dev/parisc-linux/src/gcc/gcc/java/parse.c -o
java/parse.o/tmp/ccj2Nlrs.s: Assembler messages:/tmp/ccj2Nlrs.s:148746: Error: Field out of range [-262144..262143] (-263392). make[1]: *** [java/parse.o] Error 1
make[1]: Leaving directory `/GNU-Dev/parisc-linux/build/gcc/gcc'
make: *** [all-gcc] Error 2
Quoted 2 lines
Last week co did not try to build any java.
Any idea or work-around?
"make bootstrap".
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
Quoted 11 lines
Joel
PS1: about step 4.2 of your howto-xc, I notice a small difference between html and pdf (in html you use gcc option "enable-shared" in pdf "disable-shared"). But this not the cause of the above problem.
PS2: I also make an apt-get dist-upgrade (with ftp.de.debian.org) so that native gcc is now 3.0.4-5 (I think it was already installed last week)
Both the HTML and PDF version are the same (just double checked).
http://www.baldric.uwo.ca/~carlos/HOWTO-Parisc/index.html
http://www.baldric.uwo.ca/~carlos/HOWTO-Parisc/HOWTO-Building_PARISC-LINUX_CrossCompiler.pdf
In section 4.2 you are bootstraping the C compiler without glibc so you must use --disable-shared.
In section 4.5 you have already built glibc and you can turn shared support back on with --enable-shared.
c.
p.s. The HTML and PDF do have some formatting differences...
I'll get around to making them look similar later :}
Dang... just noticed I missed one of the path changes in
the pdf...Quoting "Carlos O'Donell Jr." <[email protected]>:
Quoted 10 lines
Quoted 4 lines
Joel
PS1: about step 4.2 of your howto-xc, I notice a small difference
between html
Quoted 1 line
and pdf (in html you use gcc option "enable-shared" in pdf
"disable-shared").
Quoted 3 lines
But this not the cause of the above problem.
PS2: I also make an apt-get dist-upgrade (with ftp.de.debian.org) so
Quoted 9 lines
that native
Quoted 3 lines
gcc is now 3.0.4-5 (I think it was already installed last week)
Both the HTML and PDF version are the same (just double checked).
http://www.baldric.uwo.ca/~carlos/HOWTO-Parisc/HOWTO-Building_PARISC-LINUX_CrossCompiler.pdf
Quoted 8 lines
In section 4.2 you are bootstraping the C compiler without glibc so you must use --disable-shared.
In section 4.5 you have already built glibc and you can turn shared support back on with --enable-shared.
c.
Yes you have right (as it is my html which was wrong I do have forgot to 'reload' the page). Sorry for confusion.
Thanks also for explanation and attention.
Joel
Quoted 7 lines
p.s. The HTML and PDF do have some formatting differences...
I'll get around to making them look similar later :} Dang... just noticed I missed one of the path changes in the pdf...
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoting [email protected]:
Quoted 7 lines
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
(quoted diff) +0
-5-Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I/GNU-Dev/parisc-linux/src/gcc/gcc -I/GNU-Dev/parisc-linux/src/gcc/gcc/java -I/GNU-Dev/parisc-linux/src/gcc/gcc/config -I/GNU-Dev/parisc-linux/src/gcc/gcc/../include
Quoted 7 lines
/GNU-Dev/parisc-linux/src/gcc/gcc/java/parse.c -o
java/parse.o/tmp/ccj2Nlrs.s: Assembler messages:/tmp/ccj2Nlrs.s:148746: Error: Field out of range [-262144..262143] (-263392).
make[1]: *** [java/parse.o] Error 1
make[1]: Leaving directory `/GNU-Dev/parisc-linux/build/gcc/gcc'
make: *** [all-gcc] Error 2
Forget. The actual problem was again typo: in configure step I type 'enable-langages=c' in place of 'enable-languages=c' (lack of a u between g & a).
Sorry for mistakes.
Joel
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoted 6 lines
I try my hown gcc-3.2 (+ binutils, glibc) against kernel 2.4.18-pa19 (not yet take the risc with pa20).
It compiles as well as with gcc3.0.x. It boots also but as soon as I try to connect it remotly with telnet or ssh (I forget to test ftp) the system crash:
if you still feel adventurous, check out the kdb cvs branch of the kernel and you'll at least be able to tell where it crashed... :-)
randolph
Quoting Randolph Chung <[email protected]>:
Quoted 4 lines
Quoted 4 lines
I try my hown gcc-3.2 (+ binutils, glibc) against kernel 2.4.18-pa19 (not yet take the risc with pa20).
It compiles as well as with gcc3.0.x. It boots also but as soon as I
Quoted 10 lines
try
Quoted 2 lines
to connect it remotly with telnet or ssh (I forget to test ftp) the system crash:
if you still feel adventurous, check out the kdb cvs branch of the kernel and you'll at least be able to tell where it crashed... :-)
randolph
Yes I will also try (and find out howto use)
Joel
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)