/srv/irclogs.ubuntu.com/2007/03/21/#ubuntu-toolchain.txt

=== Starting logfile irclogs/ubuntu-toolchain.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-toolchain
fabbionedoko: ok... should we?07:07
dokook07:07
fabbioneapt-get source redhat-cluster-suite07:08
fabbionethe incrimated .deb is rgmanager07:08
fabbionethe binary in rgmanager is /usr/sbin/clurgmgr07:09
fabbionethat executable links with libcman.so.2.0 and libdlm.so.2.007:09
dokoall archs?07:09
fabbionewhat's happening is that at random (at least on i386) 07:09
fabbioneit is dynamically linked.. while other times (like the last build on the buildd) gets statically linked07:10
fabbioneia64 gets always static.. i didn't check yet amd64/sparc/ppc07:10
fabbionethe very strange thing is that it happens ONLY with these 2 libraries07:10
fabbionebecause the other libs seem to be always dynamic07:10
fabbionenow.. what i am not sure is why it happens at random.. why only with these 2 libs (built from the same source)07:11
fabbioneand it changes behaviour on different arches07:11
fabbionei can't find a pattern in it except that you build once and it's static.. you build another and it's dynamic07:11
fabbioneredhat-cluster-suite-2.20070315/rgmanager/src/daemons/clurgmgrd07:12
fabbioneand it usually happens for the binaries in that dir07:12
dokougly07:12
fabbioneat least this is what i noticed07:12
fabbionethere might be more binaries around with that issue07:12
fabbioneso i need some help here to understand if it is the build system or our toolchain07:12
dokobut it only happens with these two shared libs, correct?07:12
fabbioneyes so it seems07:13
fabbionethose are the 2 i noticed07:13
fabbionefor example clvmd (lvm2) links against the same 2 libs but it does it properly (at least it did it in the last build)07:13
dokoso how can we trigger that?07:13
fabbionebuild the source .. check ldd07:14
fabbionerepeat until07:14
fabbionethat's what i did07:14
dokoI could imagine to build/link with a newer/pure upstream toolchain07:14
fabbioneit usually happens quicklu07:14
fabbionequickly even07:14
fabbionelike in 2/3 builds07:14
fabbionei experience this sometimes on every build that there was a change in the linking07:15
fabbioneso it shouldn't take you too long to trigger07:15
fabbionebut i wasn't able to isolate what triggers it07:15
fabbioneotherwise i would know more07:15
dokodid you call the compiler/linker with -v to see some difference in the output?07:17
fabbioneyes07:17
fabbionei noticed none07:17
dokoI can try to build with our feisty+1 toolchain, but this does not differ too much07:18
fabbioneno i would really like you to check what's happening in feisty first07:18
fabbionewe need to know if this is a toolchain bug or a build system bug07:18
fabbioneif feisty is affected we need to try and see how much07:18
fabbionethis can be a security nightmare for pitti if all of the archive is affected07:18
fabbionetry to imagine random binaries being statically linked07:19
fabbioneand we need to rebuild half of them for a security fix in lib foo07:19
dokosure, but you asked for 20min, not two weeks ;-p07:19
fabbioneyes 20 minutes to explain the problem to you :)07:20
=== fabbione didn't mention the fallout :)
dokoI will try to have a first look at it today07:20
fabbioneok thanks07:21
fabbionesee 14 minutes to explain you the issue :()07:21
fabbioneless than 20 :P07:21
fabbionedoko: another thing i noticed. if that's of any help07:22
fabbionethe build system uses -L../path/to/local/built/libs -ldlm -lcman07:23
fabbioneif i instead remove those and force ../path/to/local/built/libs/libdlm.so.2.0 (and same for cman) the link is ok and dynamic07:23
fabbione(force as in object to link in the final binary)07:24
=== doko [n=doko@dslb-088-073-089-122.pools.arcor-ip.net] has joined #ubuntu-toolchain
=== lamont [i=lamont@nat/hp/x-fe922ddbbb08e924] has joined #ubuntu-toolchain
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-toolchain
=== Dvalin [i=hawkeye@terror.sintrax.net] has joined #ubuntu-toolchain
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-toolchain
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain
=== tmarble [n=tmarble@user-38q4et6.cable.mindspring.com] has joined #ubuntu-toolchain
fabbionedoko: you can reject okaratas from the team. He does attempt to join all possible teams with no answer to any query on why 02:30
fabbionehey tmarble 02:30
dokofabbione: ok, will do02:30
tmarblehi fabbione!02:30
fabbionehow you doing tom?02:31
tmarbleinsanely busy, thanks02:32
=== tmarble starting more meetings now :-/
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain
=== doko [n=doko@dslb-088-074-019-072.pools.arcor-ip.net] has joined #ubuntu-toolchain

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