IRC log for #crosstool-ng on 20110703

01:44.31*** join/#crosstool-ng Buglouse (~bug@cpe-107-8-145-21.wi.res.rr.com)
09:42.37*** join/#crosstool-ng y_morin (~ymorin@ARennes-256-1-80-153.w90-32.abo.wanadoo.fr)
09:42.38*** mode/#crosstool-ng [+o y_morin] by ChanServ
16:31.45*** join/#crosstool-ng Buglouse (~bug@cpe-107-8-145-21.wi.res.rr.com)
17:07.21*** join/#crosstool-ng leming (~leming@c-67-164-174-68.hsd1.co.comcast.net)
17:11.37lemingi'm trying to build a new toolchain using gcc 4.6.1 and glibc 2.14, but glibc is getting stuck in an infinite configure loop.. has anyone tried 2.14 yet?
17:18.16*** join/#crosstool-ng smartin (52e20d9c@gateway/web/freenode/ip.82.226.13.156)
17:57.37y_morinleming: glibc-2.14 is not yet in crosstool-NG.
17:57.46y_morinleming: did you add it yourself?
17:58.06lemingyes, i've actually been successful in the past with adding future versions manually in the .config
17:58.50y_morinWhat exactly is the error?
17:58.51lemingi work on the Arch Linux ARM port, and they keep their toolchain bleeding edge
17:59.46lemingit starts the glibc configuration, everything before is fine, then when it hits sub-configuring nptl it just restarts the configure
18:00.44lemingit never gives an error, just loops until it kills itself for too many open files
18:01.09y_morinleming: I'll add 2.14 in crosstool-NG and will try to reproduce...
18:01.24lemingi'm trying now with the latest checkout
18:01.31lemingbefore it was with 1.11.3
18:01.46lemingalso using binutils 2.21.1, though that builds fine
18:02.07y_morinCare to pastebin your .config?
18:02.18lemingsure, one moment
18:03.40leminghttp://pastebin.com/M8FhWZzS
18:05.00y_morinOK, got it. Building now...
18:06.17leminghttp://pastebin.com/sfJkZnQ5
18:06.20lemingthere is the log
18:06.35lemingfirst is the output, after ctrl+c'ing the loop it gets into
18:06.50lemingin the full build.log you can see the repetition
18:07.58lemingafter the nptl configure, i get a couple of these: configure: WARNING: you should use --build, --host, --target
18:08.10lemingwhich i've seen in the past when there is some configure option passed it doesn't like
18:08.12y_morinleming: glibc-ports-2.14 is not available. Where did you get it?
18:08.29lemingcheckout from their repo
18:08.42lemingi can put up the tarball i'm using for download
18:08.43y_morinI see...
18:08.56lemingnatively, that checkout builds fine and i have a working toolchain on the target
18:09.57leminghttp://archlinuxarm.org/builder/src/glibc-ports-2.14.tar.bz2
18:10.32lemingit extracts using the same directory structure as a release tarball
18:12.21y_morinOK, I got the ports archive by doing git archive in the ports repo.
18:13.21lemingsame thing i did
18:13.55lemingjust need to rename the directory and compress it the way it expects to find it
18:14.15y_morinleming: all in one command: git archive --format=tar --prefix=glibc-ports-2.14/ glibc-2.14 |bzip2 -c - >../glibc-ports-2.14.tar.bz2
18:14.52lemingnot the same thing i did ;)
18:18.27y_morinHmmm. I broke non-MIPS targets... :-(
18:18.34y_morinI'll have to fix this first... :-(
18:19.07lemingbroken in the default checkout?
18:19.13y_morinyes.
18:20.00y_morinslaps his own face... :-(
18:21.11lemingadjusting 11.3 had the same effect with the configure loop, where 4.6.0/2.13 built fine.. is it something broken in regards to 2.14? or maybe 4.6.1?
18:21.31y_moringcc-4.6.1 built OK once here.
18:21.40y_morinI'd go for an issue in glibc-2.14.
18:22.25lemingin my native builds, nothing changed that i can see for configure options
18:23.42y_morinleming: native builds on what ARCH?
18:23.55lemingboth armv5te and armv7-a
18:24.14y_morinOK. So maybe something dues to x-build.
18:24.32y_morinI'll see here what's going on...
18:24.54lemingalright, i appreciate you taking the time to check it out
18:25.00y_morinNP.
18:25.05lemingi've been lost
18:33.23y_morinleming: the "C library headers and start files" completed sucessfully here. Now compilng the copmplete C library.
18:33.36leminghm
18:34.09lemingwithout the changes to what was broken?
18:34.39y_morinYes, of course. But then ,just adding glibc-2.14 to the selection menu, using your .config, it is running fine here.
18:35.28lemingwhat distribution do you use?
18:35.58lemingi wonder if maybe it doesn't like something in kubuntu 11.04
18:36.18y_morinHere are the patches: http://pastebin.com/GL3NRdgP and http://pastebin.com/bZj6W0nQ
18:36.39y_morinFirst in to add glibc-2.14, second is to fix gcc on the repos.
18:37.15y_morinleming: building final gcc now... And dinner time here.
18:37.26y_moringoes for dinner, BBL...
18:37.27lemingi'll give it a shot and let you know, thanks :)
18:38.03y_morin|awayleming: just be fore I got up, the build finished with success. Now I'm gone! ;-)
18:38.15lemingexcellent
19:54.02*** join/#crosstool-ng Buglouse (~bug@cpe-107-8-145-21.wi.res.rr.com)
20:03.21lemingconfirmed that it's something with my ubuntu install, builds just fine in a chroot install
20:34.23y_morinleming: OK. Now what's so special on Ubuntu? Can you check what the shell is? ls -l /bin/sh
20:34.37lemingbash
20:34.43y_morinOK.
20:34.45lemingi'm sure it's just my install
20:35.05y_morinWas your chroot also ubuntu 11.04 ?
20:35.19lemingit was arch linux, but i'm going to try ubuntu later
20:35.30y_morinGood. Let us know!
20:36.06lemingbtw, your crosstools is great, it's been the backend that make arch linux arm possible :)
20:37.19y_morin:-)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.