/srv/irclogs.ubuntu.com/2006/09/15/#ubuntu-toolchain.txt

=== Starting logfile irclogs/ubuntu-toolchain.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-toolchain
=== doko_ [n=doko@dslb-088-073-098-216.pools.arcor-ip.net] has joined #ubuntu-toolchain
fabbionescore10:20
fabbionegcc in edgy miscompiles silo10:20
fabbioneboth 4.0 and 4.110:20
fabbionedoko_: so.. what do you need to debug this one?10:21
doko_does it work with -O0 or -O1?10:27
fabbionegetting there.. it takes ages to reboot the NIagara10:35
fabbioneit seems to be niagara specifc the problem10:35
fabbionethe netra boots fine10:35
fabbionebut the code is exactly the same10:35
fabbionewe are building with -Os10:36
fabbionewant me to switch to -O0 ?10:36
infinityTry 0, 1, and 2.10:37
infinityCould try 2 first, since the difference between 2 and s aren't many, and the problematic optimisations in that variance tend to be known.10:37
fabbionegcc-4.1 -m32 -fno-stack-protector -O2 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000    bin2h.c   -o bin2h10:38
fabbionewhich one wins here?10:38
infinityThe last one, I think.  Not positive, though.10:38
fabbioneok.. got rid of -Os10:40
infinity(base)adconrad@cthulhu:~$ gcc -O2 -o hello2 hello.c 10:40
infinity(base)adconrad@cthulhu:~$ gcc -Os -o hellos hello.c 10:40
infinity(base)adconrad@cthulhu:~$ gcc -O2 -Os -o hello2s hello.c 10:40
infinity-rwxr-xr-x 1 adconrad adconrad 7786 2006-09-15 18:40 hello210:40
infinity-rwxr-xr-x 1 adconrad adconrad 7754 2006-09-15 18:40 hello2s10:40
infinity-rwxr-xr-x 1 adconrad adconrad 7754 2006-09-15 18:40 hellos10:40
infinitySo, the last one wins.10:41
fabbioneno.. i win.. i removed -Os :)10:42
infinity;)10:42
fabbione-O2 -> no win10:45
=== doko__ [n=doko@dslb-088-073-098-216.pools.arcor-ip.net] has joined #ubuntu-toolchain
fabbionedoko_: what was the last thing you read?10:54
doko_just my sugestion to build with -O0 and/or -O110:57
fabbione-01 booting now11:02
fabbioneor better.. trying no11:02
fabbione+w11:02
fabbione-O1 -> no win11:03
fabbione-O0 -> no win11:18
fabbioneso what's next?11:18
infinityAssume it's not miscompilation, but rather incorrect code that was relying on an old GCC bug?11:21
doko_do I understand it right, that the "hello" testcase is self-contained?11:22
infinityHrm?  hello.c was just a printf.11:27
fabbioneinfinity: on both gcc-4.0 and 4.1? unlikely11:27
fabbioneinfinity: and it works on one sparc but not another11:27
fabbionenote that i am building the same code as in dapper and it was working on both11:27
fabbioneso there is no code change in the middle11:28
fabbioneonly the compiler11:28
fabbioneand that part is pure asm11:28
fabbionewritten by davem ...11:28
infinityIf it's pure asm, then perhaps you're barking up the wrong tree here and you have a binutils bug.11:28
fabbionehmm that's something to try11:29
fabbioneas soon as this mofo boots up11:29
fabbioneno luck downgrading binutils11:45
=== rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-toolchain
fabbioneso what is next guys?12:48
=== rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-toolchain
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain
=== rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-toolchain
bluefoxicydoko_:  ping?05:05
doko_what's up?05:13
bluefoxicydid you get my e-mail?05:15
bluefoxicy(about potential global toolchain settings for Edgy+1)05:16
doko_we usually prepare the toolchain before we open the archive for the next release. If you do have tested patches for new things, then you should have them prepared now. everything else should go into edgy+205:19
bluefoxicyEdgy+1 is not open yet is it?05:19
bluefoxicyThe patches I was primarily looking at are actually in Binutils CVS now05:20
bluefoxicy(since some time around Jul 10 actually)05:21
bluefoxicyhttp://sourceware.org/ml/libc-alpha/2006-06/msg00095.html <-- there's the announcement and patches05:23
doko_we usually don't use unreleased versions. If you would like to see some feature in edgy, please provide the patches as debdiffs, tested for more than one platform05:28
bluefoxicyEdgy+1, not edgy.  Any idea where I can find the version planned for use to check if it made it down from CVS yet?05:28
bluefoxicyI was hoping to discuss with you, infinity, and mdz at some point.. when's a good time?  You're probably all busy as hell preparing for edgy release (next month?)05:32
bluefoxicyok, it's in 2.17.50.0.3 at ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.17.50.0.3.tar.bz2    ....  It seems it's not in a released glibc (glibc has a patch that makes it use the DT_GNU_HASH during dynamic linking)05:47
bluefoxicybut i don't know if Ubuntu uses the .50 releases or just the straight 2.16 2.17 etc line05:47
bluefoxicyit looks like it's in .50.0.1 too05:48
bluefoxicyeither way Jelnek doesn't stick his changes in the ChangeLog because he's a brat :|05:49
doko_the .50 releases are unsupported versions release by H.J. Lu. Again, if you do want to see it, post the debdiff's.05:51
bluefoxicyAlright, yeah, I wasn't sure.05:51
bluefoxicythat means i have to figure out how to make a debdiff... maintainer's guide probably has that05:53
bluefoxicy<-- noob05:53
bluefoxicyI have other things to do here, I'll come back to this in a couple days.05:54
=== doko_ [n=doko@dslb-088-073-098-216.pools.arcor-ip.net] has joined #ubuntu-toolchain
=== doko__ [n=doko@dslb-088-073-098-216.pools.arcor-ip.net] has joined #ubuntu-toolchain
=== doko_ [n=doko@dslb-088-073-104-229.pools.arcor-ip.net] has joined #ubuntu-toolchain

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