/srv/irclogs.ubuntu.com/2009/03/31/#ubuntu-toolchain.txt

=== jbailey_ is now known as jbailey
munckfishHi toolchain folks - is there anyone here who could provide some advice on fixing the newlib FTBS on powerpc?22:00
arthur-munckfish: "See `config.log' for more details.22:01
arthur-"22:01
munckfisharthur-: I did22:01
munckfishI'm raising a bug on it now22:01
arthur-munckfish: and what does it say?22:02
munckfish/usr/bin/spu-ld: crt1.o: No such file: No such file or directory22:02
munckfishthe big issue here is22:02
munckfishAFAIKT newlib-spu is supposed to provide crt1.o itself22:03
munckfishbut the last built version of newlib didn't include it for some reason22:03
arthur-munckfish: so this can be a missing library path22:03
munckfishthat error occurs when the configure script does a basic test of spu-gcc22:04
munckfishyes it's missing22:04
munckfishwhat do you think we should do?22:04
munckfishthe only way to get spu-gcc to work without this is to tell it not link in the default libc stuff (I can't remember the option)22:05
arthur-munckfish: first, find -name "crt1.o"22:05
arthur-munckfish: -nostdlib?22:05
munckfisharthur-: do you think this file is being provided by a different package? Because it's not where it used to be22:06
munckfishafaik it should be installed under the spu prefix ......22:06
arthur-munckfish: did it use to be provided by gcc-spu or by newlib-spu ?22:07
munckfish/usr/spu22:07
munckfisharthur-: newlib-spu22:07
arthur-munckfish: so it should be built in newlib-spu somewhere, if it's not, find why22:08
munckfisharthur-: I check here: https://launchpad.net/ubuntu/+source/newlib/+publishinghistory22:08
munckfish1.17.0-0ubuntu3 - fails on ppc, 1.17.0-0ubuntu2 built but didn't include crt1.o, the versions before that included it22:09
arthur-munckfish: crt1.o should be created *inside* newlib-spu, so this only means there were already the issue in -0ubuntu222:10
arthur-and this is what you have to fix22:10
munckfisharthur-: ok. I will try to find out why it's not been built. If this package essentially depends on itself, and itself is currently broken, what would be the approach to getting it to build again?22:10
arthur-and then drop the build-depends on newlib-spu22:10
arthur-munckfish: as said, it should not depends on itself once fixed22:11
munckfisharthur-: well I say it depends on itself but it's more like newlib ---> spu-gcc ---> newlib22:11
munckfishNow I don't understand enough about this, but I'm guessing that building a version of libc (which newlib is) shouldn't need to link against libc22:12
munckfishDo you think it's likely we could modify the standard configure check to use -nostdlib?22:13
munckfishI don't have enough experience with configure to know whether that sort of thing is easy22:13
arthur-munckfish: here is the point: version -Oubuntu2, for whatever reason, stoped to build crt1.o, so someone added a build-depends on newlib-spu to have it from version -0ubuntu122:13
munckfishaha, ok I see what your saying22:14
arthur-munckfish: this worked well, but since it was not built in -0ubuntu2, -0ubuntu3 failed, and there is no such workaround possible anymore22:14
munckfishdoh!, I see Doko's comment now22:14
arthur-munckfish: so you have to fix the issue that version -Oubuntu2 already have22:14
munckfisharthur-: thanks! You pointed me in the right direction22:14
munckfishI'll go hunt for the answer22:14
munckfish:)22:15
arthur-np22:15

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