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