=== 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 [03:10] jbehey dude [03:10] whops [03:10] jbailey: dude... [03:10] fabbione: yayaya [03:10] Fine, don't remember who I am. [03:10] See if my feelings are hurt... 8'{ *cRy* [03:10] (gdb) run [03:10] Starting program: /root/a.out [03:10] we are set [03:10] Program received signal SIGUSR1, User defined signal 1. [03:10] 0xf7e9536c in nanosleep () from /lib/v9v/libc.so.6 [03:10] (gdb) next [03:10] Single stepping until exit from function nanosleep, [03:10] which has no line number information. [03:10] Program terminated with signal SIGILL, Illegal instruction. [03:10] The program no longer exists. [03:10] (gdb) That was all, folks [03:10] this is bad.. [03:10] i can't figure why we are getting a SIGILL [03:10] and only on Niagara machine [03:11] SIGILL is a kernel or processor trap. [03:11] i am afraid the last gcc updates are generating wrong code [03:11] because it's not triggered on non Niagara machines [03:11] That or the kernel is dissallowing something it should allow. [03:11] and usually that's a sign of badly generated code [03:11] unlikely [03:11] Depends on how the protection bits all work on Sparc. [03:11] i have seen a lot the other way around [03:12] Is there a test failure in either LTP or glibc's testsuite for it? [03:12] i have a reduced case [03:12] and i am trying to reduce it even more [03:12] Even better. =) [03:12] no idea about LTP or glibc [03:12] jbailey: can you get access to fluorine? [03:12] Well, you're looking at a glibc function yes? [03:12] from cr3? [03:13] I can, but don't have time for 4 to 6 hours. [03:13] i want to show you the code [03:13] feh ok [03:13] Sorry, my morning is lined up with customer appointments. [03:13] Does your reduced testsuite still call nanosleep? [03:13] Or have you extracted that out? [03:20] i am pretty sure the problem is either gcc or binutils [03:20] declaring an int foo; makes the code explode [03:20] removing that line = works [03:20] and that so should not happen [03:21] root@fluorine:~# gcc -Wall -g -O0 main.c [03:21] root@fluorine:~# ./a.out [03:21] root@fluorine:~# gcc -Wall -g -O0 main.c [03:21] main.c: In function 'main': [03:21] main.c:36: warning: unused variable 'i' [03:21] root@fluorine:~# ./a.out [03:21] Illegal instruction [03:21] doko: ping? [03:23] Right, so once you've got that, do a disassemble and a stepi to find the offending instruction. [03:25] do you recall the gdb sintax to do that? [03:27] 'dis' I think. [03:28] no that's disable.. [03:28] Hmm, lemme look it up after this call. [03:28] sure thanks === tonyyserver [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-toolchain [03:41] fabbione: disass [03:41] You didn't try, did you? =) [03:42] So break before the sigill. [03:43] step to find the offending C statement. [03:43] Do the disass there [03:43] then stepi to the sigill. [03:47] jbailey: ok [03:48] dis was claiming disable.. but i might have been at the wrong point [04:13] hoooowwwowowowoowow [04:13] this is a mess [04:22] fabbione: pong [04:22] doko: do you have access to fluorine? [04:23] no [04:23] the T1000 at the london DC from -support? [04:23] i was told you had acccess [04:30] ohh right, didn't use it yet [04:39] doko: see your email about that niagara test case [04:39] it's possible to reproduce it on fluorine [04:39] there is a feisty chroot in /src/chroots/feisty [04:39] and the sources are in ~/root [04:40] fabbione: could you check with gcc-4.2? [04:40] what are working gcc/binutils versions? [04:41] doko: i have been staring at that code for 10 hours now.. i can't look at it anylonger [04:41] doko: i did test the latest in feisty... and no.. i didn't check back yet [04:41] i thought it was a coding error [04:41] but i just arrived at toolchain not too long ago when removing the int i; [04:41] (unused) [04:42] because i was killing code to the minimum to reduce the test case [04:42] the original parted_server is 2200 lines :) [04:42] also.. flourine has 32 threads.. it takes nothing to build gcc with make -j :) === __keybuk [n=scott@217.205.109.249] has joined #ubuntu-toolchain