/srv/irclogs.ubuntu.com/2005/05/20/#ubuntu-toolchain.txt

jbaileyEh?  I have 2 RT installations that I help manage now, and I used it at my last job.12:03
jbaileyIt's a nice little package.12:03
jbaileyHave you seen it version >= 3?12:03
lamontncftp, not rt12:11
=== lamont has remained blissfully unencumbered by RT knowledge
jbaileyah, I've never hacked on the ncftp code. =)12:18
jbailey-march=i686 -mcpu=i68601:15
jbaileyErr.01:15
jbailey-march=i486 -mcpu=i68601:15
jbaileyShould that be -march=i386 -mtune=i686 ?01:15
=== jbailey watches the glibc build continue.
jbaileyI *definetly* need better ia32 hardware.01:39
jbaileylamont-away: It's building fine for me here...01:44
jbaileyI'm using gcc-3.4 from Debian, current lkh and amd64-libs{-dev} from Ubuntu01:45
jbaileylibgcc1 4.0 from Ubuntu01:45
=== infinity [~adconrad@loki.0c3.net] has joined #ubuntu-toolchain
fabbionemorning05:31
=== ogra [~ogra@p5089F7A6.dip.t-dialin.net] has joined #ubuntu-toolchain
svenlabout biarch ppc64 compilers and 4.0 : 10:40
svenl10:37 < alanm> svenl, gcc-4.0 cvs might be ok, but it hasn't been tested anywhere near as much as gcc-3.4.  eg. the 4.010:40
svenl               release is known to miscompile the linux kernel10:40
svenldoko: do you have any insight on this ? 10:40
dokowe have gcc-4.0 CVS 2005050910:41
svenldoko: ok.10:42
svenldoko: question is if you can compile 64bit kernels with it.10:42
svenldoko: btw my debian/experimental gcc-4.0 build failed with : 10:43
svenlfatal error: file gnat1drv.ali is incorrectly formatted10:43
svenlmake sure you are using consistent versions of gcc-3.3/gnatbind10:43
svenldoko: are you sure the gnat build-dependency is as strict as is needed ? 10:44
dokoif you disable add, no10:44
svenldoko: disable add ? 10:47
dokoada10:47
svenldoko: i just did a plain dpkg-buildpackage -B10:47
dokoWITHOUT_LANG=ada dpkg-buildpackage ...10:47
svenlso i didn't touch the package.10:47
svenlmmm.10:47
svenldoko: so you want me to build and upload gcc-4.0 for powerpc without ada ? 10:48
dokosvenl: ehh? no!11:52
svenldoko: so ? 11:54
svenldoko: i just did a plain dpkg-buildpackage -B, and the gnat stuff failed to build.11:54
dokomisunderstanding, I thought you had problems wuth the biarch setup ...11:54
dokois gnat-3.3 or gnat-3.4 installed?11:54
svenldoko: so i was wondering if this was because i have gnat-3.3 or something.11:55
svenlii  gnat-3.3       3.3.6-4        The GNU Ada compiler11:55
dokovery strange ... you can check with gnat-3.4 maybe11:55
svenlbut the build-depends are ok, so if gnat-3.4 is needed, the build-depends need tightening.11:55
dokosave the build logs11:55
svenlyep, will do a build this evening.11:55
svenldoko: you want the gnat-3.3 build log ? 11:56
dokoyes, could you email it?11:57
svenldoko : http://people.debian.org/~luther/gcc-4.0-gnat-3.3.log11:57
dokostrange, it did build before, and on the ubuntu buildd's as well11:59
svenlwith gnat-3.3 ? 12:05
dokoyes12:06
svenldoko: on powerpc ? 12:06
dokohttp://people.ubuntu.com/~lamont/buildLogs/g/gcc-4.0/4.0.0-7ubuntu1/gcc-4.0_4.0.0-7ubuntu1_20050509-2138-powerpc-successful.bz212:06
svenlstrange.12:06
svenlI will let aba build it, and we will see.12:07
=== doko [~doko___@dsl-084-059-061-070.arcor-ip.net] has joined #ubuntu-toolchain
fabbionehey ladies04:22
=== chmj [~d3vic3@dumbledore.hbd.com] has joined #ubuntu-toolchain
fabbionedoko: did you read what i wrote on #ubuntu-devel ?04:23
dokofabbione, that's not an under 18 channel ;-P04:23
fabbioneahhaa04:25
=== Seveas [~seveas@seveas.demon.nl] has joined #ubuntu-toolchain
=== jbailey [~jbailey@dhcp802-2-37.dsl.ucc-net.ca] has joined #ubuntu-toolchain
jbaileylamont, doko: I can't reproduce the configure time failure here for glibc on i386 targetting amd64.06:08
jbaileyI did notice, however, that my thing moving the -O0 hack to a generic place didn't work. =(06:08
lamontjbailey: ew...06:11
lamonthrm...06:11
svenljbailey: hi.07:58
svenljbailey: glibc build failed because the 64bit build dir was not populated.07:58
jbaileysvenl: Eh?08:05
jbaileysvenl: Here, lemme produce a .deb for you.08:05
jbaileyWith both passes, it'll take about 40 minutes.08:05
jbailey...08:05
jbaileyto build.08:05
jbaileyLemme assemble it first.08:05
svenljbailey: i rebuild glibc-2.3.5 (from your web page), with the gcc from doko, and it failed when it tried to build the ppc64 stuff, because that dir was empty.08:05
svenljbailey: that's not the problem, i am investigating the build on ppc32 part of it.08:06
svenljbailey: let me relocate on the powerbook, so i can tell you more about this error.08:08
jbaileysvenl: 'kay.  I can't talk long today.  I munged my wrist last night, so I'm avoiding typing today.08:09
svenljbailey: but you can read :)08:10
jbaileyRight. =)08:10
svenljbailey: or we can try a voip debugging session :)08:10
jbaileyTrue.  If I were at home, I'd just call you, it's 5 a minute for me to europe.08:10
jbaileyI should setup voip sometime.08:11
svenlroot@tael:~/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64# ls08:12
svenlconfig.log  configparms08:12
svenlyou see there is only this.08:12
svenl/usr/bin/make -C build-tree/powerpc-ppc64 -j 1 \08:12
svenl  install_root=/home/sven/ubuntu/glibc-2.3.5/debian/tmp-ppc64 install08:12
svenlmake[1] : entrant dans le rpertoire  /home/sven/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64 08:12
svenlmake[1] : *** Pas de rgle pour fabriquer la cible  install . Arrt.08:13
jbaileyWhat's the failure at the bottom of the log file?08:13
svenland there it fsails.08:13
jbaileyNo, it fails before that.08:13
svenlwell, i guess there is no Makedile in that dir.08:13
jbaileyIt just doesn't kill the build.08:13
jbaileyWe pipe stuff through tee, so we lose return codes.08:13
jbaileyIt can fail *way* before that point.08:13
svenltouch /home/sven/ubuntu/glibc-2.3.5/stamp-dir/install_libc08:13
svenlInstalling ppc6408:13
svenlrm -rf /home/sven/ubuntu/glibc-2.3.5/debian/tmp-ppc6408:13
svenl/usr/bin/make -C build-tree/powerpc-ppc64 -j 1 \08:13
svenl  install_root=/home/sven/ubuntu/glibc-2.3.5/debian/tmp-ppc64 install08:13
svenlmake[1] : entrant dans le rpertoire  /home/sven/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64 08:13
svenlmake[1] : *** Pas de rgle pour fabriquer la cible  install . Arrt.08:13
svenlmake[1] : quittant le rpertoire  /home/sven/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64 08:13
jbaileyThe the top directory of the tree, there should be a log-powerpc64-*08:13
svenlmake: *** [/home/sven/ubuntu/glibc-2.3.5/stamp-dir/install_ppc64]  Erreur 208:13
svenlah, ok.08:14
jbaileyI need to see where configure failed.08:14
svenli have the fukll log normally, let me check.08:14
jbaileyRight.  The full log doesn't make sense in our case, because there's many places it can fail.08:14
jbaileyAnd just to piss lamont off, it's 40 megs.08:14
svenlconfigure: error: forced unwind support is required08:14
svenlmake[1] : entrant dans le rpertoire  /home/sven/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64 08:14
jbaileyBecause he *loves* getting those in his email. =)08:14
svenlmake[1] : *** Pas de cibles spcifies et aucun makefile n'a t trouv. Arrt.08:14
svenlmake[1] : quittant le rpertoire  /home/sven/ubuntu/glibc-2.3.5/build-tree/powerpc-ppc64 08:15
jbaileyThat'd be the one. =(08:15
svenlok.08:15
svenlchecking for forced unwind support... no08:15
svenlconfigure: error: forced unwind support is required08:15
jbaileyI need a typing break, back in a couple of minutes (sorry)08:15
svenlno problem08:16
jbaileyBah, found ice, can't find anything to wrap it in.08:18
svenlhow did you damage your hand ?08:18
jbaileyCan you take a look at that config.log file, please?08:18
jbaileysvenl: Playing pool last night.08:19
jbaileysvenl: I have hypermobile joints, so if I'm not careful I can do incredibly bad things to them.08:19
svenlyep.08:19
jbaileyI was a little too enthusiastic on a shot.08:19
jbailey(On the upside, I did sink two balls off of it)08:19
svenl:/08:19
svenl:)08:19
svenlso what you want to see in config.log ?08:20
jbaileyIt's not horrible, just throbby.  The nurse I spoke to says that I've likely just pulled something, given that there's no swelling and whatnot, and that I need to ice it and rest it when it gets uncomfortable.08:20
jbaileyLook for the word "unwind" and find a failure near there.08:20
svenlconfigure:5402: checking for libunwind-support in compiler08:20
svenlconfigure:5419: result: no08:20
jbaileyNext one, force unwind is later.08:21
svenljbailey: you could plug out that liquid cooling system of the pmac G5 and put it around your hand :)08:21
jbaileysvenl: The pmac is 5000km from here.  I haven't finished travelling home from UDU yet. =)08:21
svenl/usr/bin/ld: cannot find -lc08:21
svenlAh.08:21
jbaileyEh?  It shouldn't need a working C library to build the biarch compiler.08:22
jbaileyOh...08:22
jbaileywait08:22
svenlconfigure:27: checking for forced unwind support08:22
svenlconfigure:51: gcc-3.4 -m64 -o conftest -g -O2 -isystem /home/sven/ubuntu/glibc-2.3.5/debian/include  conftest.c  >&508:22
jbaileyDAMMIT08:22
svenl/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux/3.4.4/../../../libc.so when searching for -lc08:22
jbaileyI forgot about that.08:22
svenl/usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux/3.4.4/../../../libc.a when searching for -lc08:22
svenl/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc08:22
svenl/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc08:22
svenl/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc08:22
svenl/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc08:22
dokojbailey: it does for libgcc08:22
svenl/usr/bin/ld: cannot find -lc08:22
svenlcollect2: ld returned 1 exit status08:22
svenlconfigure:57: $? = 108:22
svenlconfigure: failed program was:08:22
jbaileydoko: No, it's a bug in the nptl configury.08:22
jbaileydoko: Linuxthreads doesn't need it.08:23
dokoahh, better :)08:23
svenlmmm.08:23
jbaileysvenl: Lemme send you my backup copy of glibc with lt. =)08:23
svenldoko: btw, i also trried building gcc 3.4.3 cvs from scratch to build a biarch toolchain by hand.08:23
svenlhuh ?08:23
svenldoko: but it failed too with a libiberty error.08:24
jbaileysvenl: I have a copy of glicb that you need to install for this build to work.08:24
svenljbailey: :)08:24
svenljbailey: a glibc package ?08:24
jbaileysvenl: Yes.08:24
jbaileysvenl: A transitional one.08:24
jbaileyI need to remember to get this bug fixed.08:24
svenlmmmm.08:24
svenlok.08:25
svenljbailey: how will you send me the copy and when ?08:38
jbaileyhttp://testhaus.cns.utoronto.ca/~jbailey/ppc64-lt/08:38
jbaileylamont: It just occured to me this is probably our amd64 failure too. =(  Same bootstrap case, really.08:38
lamont??08:39
svenljbailey: you know that you just violated the GPL :)08:40
jbaileysvenl: I have not, if you ask me for the source I will provide it.08:40
svenl(meaning the above does not contain the source packages :)08:40
svenljbailey: you didn give me a written offer for it though :)08:40
=== lamont would be terribly shocked if jbailey actually violated the GPL.
jbaileyJust as soon as a self addressed stamped envelope with an international postage voucher shows up with a blank cdrw. ;)08:41
svenlok, i am downloading the stuff.08:41
lamontI had a very confused person recently who didn't realize that you could make a derivitive work based on a GPL'ed work and not return your patches upstream.08:42
lamont(specifically, source must be made available to anyone who can get the binaries, which is not necessarily everyone)08:42
jbaileylamont: Right.  I've wondered a few times when we'll start to see embedded linux devices with a spare chip, not hooked up to anything, that has the entire kernel source in it.08:43
svenlBTW, why does sudo need to do a gethostbyname ?08:43
svenljbailey: it needs the prefered form of modification, so this wouldn work.08:44
lamontsvenl: hostname is one of the components of the sudoers file08:44
jbaileysvenl: It's still in source form.  If you have the tools to modify the embedded binary, you have the tools to get the source code.08:44
lamontso you can have one file that goes everywhere, and only grants bob access to reboot _his_ machines08:44
lamontjbailey: socketed?08:45
svenllamont: ah.08:45
svenlwould add about 15$ per board though as of today.08:45
jbaileylamont: Could even be soldered as long as you could reasonably dump it with the some tools you'd use to program the roms.08:45
lamontmind you, an sudod would be nice to jave, so you didn't have to push said file everywhere...08:45
jbaileylamont: The trick is that every bios update would have to also update the source image.08:46
lamonttrue08:46
jbaileysvenl: Right, cost prohibative for now, but given that it can be quite slow to write to, it might be cheaper than the support overhead of making source available for 3 years, or shipping it on demand if they managed to get quantities up.08:47
svenljbailey: yep.08:47
svenljbailey: especially as flash sizes grow.08:47
svenljbailey: launched the build with your transitional glibc.08:48
svenlwill take a while.08:48
jbaileylamont: Do you still have that chroot lying arond that you used for the i386/amd64 biarch build?08:49
lamontuh, used?08:49
=== lamont hasn't done that yet, since doko said it was ftbfs
dokoehh, yes, jbailey wanted to fix it ...08:50
jbaileydoko: You there?11:36
dokoyes11:42
jbaileyWe currently have -march=i486 -mcpu=i68611:42
jbailey(In various configs)11:42
jbaileyI get a gcc-3.4 warning saying that one of those is deprecated.11:43
=== jbailey digs up the warning.
jbailey-mcpu11:43
jbaileyShould that just change to -mtune ?11:43
dokoyes, I mailed you about it11:44
jbaileyYou did?11:44
=== jbailey looks.
jbaileyI see the thing where you point out the message...11:45
jbaileyBut a'ight, I'll change it to -mtune11:46
dokoyes, I meant that :)11:46
jbaileyThanks.  Starting another build and running off for lunch.11:47

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