/srv/irclogs.ubuntu.com/2007/01/09/#ubuntu-toolchain.txt

=== doko_ [n=doko@dslb-088-073-069-075.pools.arcor-ip.net] has joined #ubuntu-toolchain
=== lamont [i=lamont@nat/hp/x-9bde1aa00c800769] has joined #ubuntu-toolchain
=== Keybuk [n=scott@217.205.109.249] has joined #ubuntu-toolchain
=== jbailey [n=jbailey@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-toolchain
fabbionejbehey dude03:10
fabbionewhops03:10
fabbionejbailey: dude...03:10
jbaileyfabbione: yayaya03:10
jbaileyFine, don't remember who I am.03:10
jbaileySee if my feelings are hurt... 8'{ *cRy*03:10
fabbione(gdb) run03:10
fabbioneStarting program: /root/a.out 03:10
fabbionewe are set03:10
fabbioneProgram received signal SIGUSR1, User defined signal 1.03:10
fabbione0xf7e9536c in nanosleep () from /lib/v9v/libc.so.603:10
fabbione(gdb) next03:10
fabbioneSingle stepping until exit from function nanosleep, 03:10
fabbionewhich has no line number information.03:10
fabbioneProgram terminated with signal SIGILL, Illegal instruction.03:10
fabbioneThe program no longer exists.03:10
fabbione(gdb) That was all, folks03:10
fabbionethis is bad.. 03:10
fabbionei can't figure why we are getting a SIGILL 03:10
fabbioneand only on Niagara machine03:10
jbaileySIGILL is a kernel or processor trap.03:11
fabbionei am afraid the last gcc updates are generating wrong code03:11
fabbionebecause it's not triggered on non Niagara machines03:11
jbaileyThat or the kernel is dissallowing something it should allow.03:11
fabbioneand usually that's a sign of badly generated code03:11
fabbioneunlikely03:11
jbaileyDepends on how the protection bits all work on Sparc.03:11
fabbionei have seen a lot the other way around03:11
jbaileyIs there a test failure in either LTP or glibc's testsuite for it?03:12
fabbionei have a reduced case03:12
fabbioneand i am trying to reduce it even more03:12
jbaileyEven better. =)03:12
fabbioneno idea about LTP or glibc03:12
fabbionejbailey: can you get access to fluorine?03:12
jbaileyWell, you're looking at a glibc function yes?03:12
fabbionefrom cr3?03:12
jbaileyI can, but don't have time for 4 to 6 hours.03:13
fabbionei want to show you the code03:13
fabbionefeh ok03:13
jbaileySorry, my morning is lined up with customer appointments.03:13
jbaileyDoes your reduced testsuite still call nanosleep?03:13
jbaileyOr have you extracted that out?03:13
fabbionei am pretty sure the problem is either gcc or binutils03:20
fabbionedeclaring an int foo; makes the code explode03:20
fabbioneremoving that line = works03:20
fabbioneand that so should not happen03:20
fabbioneroot@fluorine:~# gcc -Wall -g -O0 main.c 03:21
fabbioneroot@fluorine:~# ./a.out 03:21
fabbioneroot@fluorine:~# gcc -Wall -g -O0 main.c 03:21
fabbionemain.c: In function 'main':03:21
fabbionemain.c:36: warning: unused variable 'i'03:21
fabbioneroot@fluorine:~# ./a.out 03:21
fabbioneIllegal instruction03:21
fabbionedoko: ping?03:21
jbaileyRight, so once you've got that, do a disassemble and a stepi to find the offending instruction.03:23
fabbionedo you recall the gdb sintax to do that?03:25
jbailey'dis' I think.03:27
fabbioneno that's disable..03:28
jbaileyHmm, lemme look it up after this call.03:28
fabbionesure thanks03:28
=== tonyyserver [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-toolchain
jbaileyfabbione: disass03:41
jbaileyYou didn't try, did you? =)03:41
jbaileySo break before the sigill.03:42
jbaileystep to find the offending C statement.03:43
jbaileyDo the disass there03:43
jbaileythen stepi to the sigill.03:43
fabbionejbailey: ok03:47
fabbionedis was claiming disable.. but i might have been at the wrong point03:48
fabbionehoooowwwowowowoowow04:13
fabbionethis is a mess04:13
dokofabbione: pong04:22
fabbionedoko: do you have access to fluorine?04:22
dokono04:23
fabbionethe T1000 at the london DC from -support?04:23
fabbionei was told you had acccess04:23
dokoohh right, didn't use it yet04:30
fabbionedoko: see your email about that niagara test case04:39
fabbioneit's possible to reproduce it on fluorine04:39
fabbionethere is a feisty chroot in /src/chroots/feisty04:39
fabbioneand the sources are in ~/root04:39
dokofabbione: could you check with gcc-4.2?04:40
dokowhat are working gcc/binutils versions?04:40
fabbionedoko: i have been staring at that code for 10 hours now.. i can't look at it anylonger04:41
fabbionedoko: i did test the latest in feisty... and no.. i didn't check back yet04:41
fabbionei thought it was a coding error04:41
fabbionebut i just arrived at toolchain not too long ago when removing the int i;04:41
fabbione(unused)04:41
fabbionebecause i was killing code to the minimum to reduce the test case04:42
fabbionethe original parted_server is 2200 lines :)04:42
fabbionealso.. flourine has 32 threads.. it takes nothing to build gcc with make -j :)04:42
=== __keybuk [n=scott@217.205.109.249] has joined #ubuntu-toolchain

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!