=== jbailey_ is now known as jbailey [22:00] Hi toolchain folks - is there anyone here who could provide some advice on fixing the newlib FTBS on powerpc? [22:01] munckfish: "See `config.log' for more details. [22:01] " [22:01] arthur-: I did [22:01] I'm raising a bug on it now [22:02] munckfish: and what does it say? [22:02] /usr/bin/spu-ld: crt1.o: No such file: No such file or directory [22:02] the big issue here is [22:03] AFAIKT newlib-spu is supposed to provide crt1.o itself [22:03] but the last built version of newlib didn't include it for some reason [22:03] munckfish: so this can be a missing library path [22:04] that error occurs when the configure script does a basic test of spu-gcc [22:04] yes it's missing [22:04] what do you think we should do? [22:05] the 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] munckfish: first, find -name "crt1.o" [22:05] munckfish: -nostdlib? [22:06] arthur-: do you think this file is being provided by a different package? Because it's not where it used to be [22:06] afaik it should be installed under the spu prefix ...... [22:07] munckfish: did it use to be provided by gcc-spu or by newlib-spu ? [22:07] /usr/spu [22:07] arthur-: newlib-spu [22:08] munckfish: so it should be built in newlib-spu somewhere, if it's not, find why [22:08] arthur-: I check here: https://launchpad.net/ubuntu/+source/newlib/+publishinghistory [22:09] 1.17.0-0ubuntu3 - fails on ppc, 1.17.0-0ubuntu2 built but didn't include crt1.o, the versions before that included it [22:10] munckfish: crt1.o should be created *inside* newlib-spu, so this only means there were already the issue in -0ubuntu2 [22:10] and this is what you have to fix [22:10] arthur-: 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] and then drop the build-depends on newlib-spu [22:11] munckfish: as said, it should not depends on itself once fixed [22:11] arthur-: well I say it depends on itself but it's more like newlib ---> spu-gcc ---> newlib [22:12] Now 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 libc [22:13] Do you think it's likely we could modify the standard configure check to use -nostdlib? [22:13] I don't have enough experience with configure to know whether that sort of thing is easy [22:13] 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 -0ubuntu1 [22:14] aha, ok I see what your saying [22:14] munckfish: this worked well, but since it was not built in -0ubuntu2, -0ubuntu3 failed, and there is no such workaround possible anymore [22:14] doh!, I see Doko's comment now [22:14] munckfish: so you have to fix the issue that version -Oubuntu2 already have [22:14] arthur-: thanks! You pointed me in the right direction [22:14] I'll go hunt for the answer [22:15] :) [22:15] np