IRC logs for #baserock for Wednesday, 2015-09-16

*** jjardon_ has joined #baserock00:21
*** jjardon_ has joined #baserock00:21
*** jjardon has quit IRC00:21
*** persia_ has joined #baserock00:29
*** persia_ has joined #baserock00:29
*** bwh_ has joined #baserock00:30
*** petefoth1ringham has joined #baserock00:31
*** richard_1aw has joined #baserock00:31
*** pdar_ has joined #baserock00:31
*** lachlanmackenzie has quit IRC00:35
*** bwh has quit IRC00:35
*** petefotheringham has quit IRC00:35
*** jjardon_ has quit IRC00:35
*** persia has quit IRC00:36
*** richard_maw has quit IRC00:36
*** pdar has quit IRC00:36
*** lachlanmackenzie has joined #baserock00:41
*** jjardon_ has joined #baserock00:42
*** jjardon_ has quit IRC00:42
*** jjardon_ has joined #baserock00:42
*** Walkerdine has joined #baserock01:01
*** zoli__ has joined #baserock01:45
*** zoli__ has quit IRC01:49
*** jjardon_ has quit IRC02:28
*** jjardon_ has joined #baserock02:33
*** petefoth has joined #baserock06:31
*** paulw has joined #baserock06:38
*** Walkerdine has quit IRC07:01
*** franred has joined #baserock07:11
*** petefoth has quit IRC07:19
*** jjardon_ has quit IRC07:19
*** toscalix__ has joined #baserock07:24
*** petefoth has joined #baserock07:24
*** jjardon_ has joined #baserock07:24
*** zoli__ has joined #baserock07:25
*** zoli___ has joined #baserock07:26
*** zoli__ has quit IRC07:26
*** bashrc has joined #baserock08:00
paulsherwoodhmmmm. any autotools/gcc whizzes able to guide me on http://paste.baserock.org/vupujoguke please?08:19
paulsherwood(moonshot failing to build gcc)08:19
KinnisonYou're building aarch64 there, is that intended?08:24
paulsherwoodi believe so... that's wht the moonshot is?08:25
KinnisonIt is, yes.  Okay.08:25
Kinnisonconfigure: error: cannot compute suffix of object files: cannot compile08:26
Kinnisonthat's the error08:26
KinnisonIf you still have the build tree then look for config.log in ..../gcc.build/o/aarch64*/libgcc/08:26
Kinnisonthat may contain the actual error08:26
Kinnisonmy guess is that something has put either the stage2 libc or stage2 linkloader somewhere odd08:26
KinnisonOr possibly the stage 3 libc is squiffy08:27
KinnisonIt's hard to guess08:27
Kinnisonesp. given it has compiled somethings08:27
*** mariaderidder has joined #baserock08:28
KinnisonI'm now going to guess that the log it pastes is not the full log08:30
Kinnisonbecause there's no way that's all the build log there is, not if it's using xgcc already08:31
paulsherwoodit's 200 lines08:32
paulsherwoodi'll put the full log up08:32
paulsherwoodhttp://sprunge.us/AFZC08:33
KinnisonOkay, so yes, xgcc was built but nothing seems to be exercising it strongly08:34
Kinnisoncan you please look for the config.log I mentioned?08:34
paulsherwoodhttp://sprunge.us/eaBi08:37
* Kinnison looks08:40
Kinnison/gcc.build/o/./gcc/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory08:41
KinnisonThat's odd08:41
Kinnisonthat implies that the proper zlib isn't present in the right way08:41
Kinnisonbut it was built according to your log08:41
KinnisonCould you pick apart the artifact for zlib.417fa73fa8876c0f59ac9723e408b06ca97de1e578ec4277a4fd3a09073bc15d and pastebin a file listing?08:42
paulsherwoodhttp://paste.baserock.org/acuhigixiv08:43
Kinnisonokay that looks not unreasonable08:44
Kinnisonare those files present in your assembly for building gcc?08:44
paulsherwoodhttp://paste.baserock.org/mecujihude08:46
paulsherwoodi think so08:46
Kinnisonand can you please check what usr/lib/libz.so.1 is08:47
paulsherwoododd thgin is this built previously. this was my second run08:47
paulsherwood0 lrwxrwxrwx 1 root root 13 Sep 16 05:59 usr/lib/libz.so.1 -> libz.so.1.2.808:47
paulsherwoodroot@ciat-large-0:/src/tmp/tmpiV02co# ls -ls usr/lib/libz.so.1.2.808:47
paulsherwood104 -rwxr-xr-x 3 root root 104280 Nov 11  2011 usr/lib/libz.so.1.2.808:47
Kinnisonokay so there's no reason that wouldn't work08:48
* Kinnison hrms08:48
KinnisonWhat's interesting is that it managed to link the cc1 against that library08:49
Kinnisonand yet it can't run it08:49
Kinnisonokay, final question08:49
Kinnisonin your build tree, is there an /etc/ld.so.conf (and if so what's in it) and is there an /etc/ld.so.cache (and if so, does strings /etc/ld.so.cache | grep libz list the library?)08:50
paulsherwoodroot@ciat-large-0:/src/tmp/tmpiV02co# cat etc/ld.so.conf08:51
paulsherwood/lib08:51
paulsherwood/usr/lib08:51
paulsherwood/usr/local/lib08:51
paulsherwoodinclude /etc/ld.so.conf.d/*.conf08:51
radiofreei had this exact same problem paulsherwood08:51
paulsherwoodreally?08:51
radiofreeyep08:51
paulsherwoodroot@ciat-large-0:/src/tmp/tmpiV02co# strings etc/ld.so.cache | grep libz08:51
paulsherwoodlibz.so.108:51
paulsherwood/usr/lib/libz.so.108:51
paulsherwoodlibz.so08:51
paulsherwood/usr/lib/libz.so08:51
paulsherwoodradiofree: did you find out the cause?08:52
radiofreehttps://irclogs.baserock.org/%23baserock.2015-06-09.log.html#t2015-06-09T15:40:5608:52
radiofreepaulsherwood: it ended up just working, i suspect if you start the build again it will work08:52
KinnisonThat's not very heartening08:52
paulsherwoodradiofree: i'm sure it'll work. so i'm not re-running it yet...08:53
KinnisonI have no more ideas I can query you for information for08:53
Kinnisonthat's very odd08:53
Kinnisoneverything looks like it should have worked08:53
Kinnisonradiofree: were you building aarch64 at the time?08:53
paulsherwoodgiven this has never been seen on x86 (and i must've run the build a few hundred times so far) i'm thinking it's something specific to this box/chip08:54
paulsherwoodKinnison: he was, same soc08:54
Kinnisonhmm08:54
* Kinnison goes to ask some linaro/arm peeps08:54
radiofreeKinnison: yep08:54
radiofreeare you sure libz is in your build dir?08:55
radiofreeah, yes it is08:55
KinnisonSteve McIntyre doesn't think they've seen anything like that before08:56
KinnisonIt's interesting that it only seems to happen on aarch6408:56
paulsherwoodKinnison: i expect that if i re-run the commmand, it will work. i could make a copy of the tmp dir for forensics, maybe?08:57
Kinnisonplease hive it of (just mv it out of the way)08:57
KinnisonI may get some time to take a look or I may tell you to abandon08:58
* Kinnison has a meeting now, sadly08:58
*** ssam2 has joined #baserock09:01
*** ChanServ sets mode: +v ssam209:01
*** tiagogomes_ has quit IRC09:10
ratmice___paulsherwood: if you can try with LD_DEBUG="files" or "all", that might show something, or if you have the output of 'readelf -d' on the binary/lib could be relevant09:29
*** tiagogomes_ has joined #baserock09:32
richard_1awpaulsherwood: you could get that ENOENT of not being able to find the library, even when the file is in the search path and being loaded, if the library itself depends on something that it can't find, i.e. are you sure the libz you have is linked against a libc that you can find in your search path?11:04
*** richard_1aw is now known as richard_maw11:04
richard_mawif it's an intermittent failure, my guesses are 1. dentry cache corruption, I heard that was happening in some of the early ARM64 kernel versions, 2. dodgy page tables from similar bugs, 3. you could have corrupted files in your staging area/assembly.11:08
richard_maw3. can happen from bit-rot, running builds without full sandboxing in the staging area, or accidentally making changes to a staging area when debugging failed builds11:09
paulsherwoodi'm currently discounting 3 - afaik this has only ever been seen on aarch6411:28
*** lachlanmackenzie has quit IRC12:45
*** lachlanmackenzie has joined #baserock12:46
*** persia_ has quit IRC12:48
*** persia has joined #baserock12:50
*** persia_ has joined #baserock12:50
*** persia_ has joined #baserock12:50
*** franred has quit IRC12:54
*** petefoth_ has joined #baserock13:28
*** jjardon_ has quit IRC13:29
*** petefoth has quit IRC13:29
*** petefoth_ is now known as petefoth13:29
*** jjardon__ has joined #baserock13:30
*** zoli___ has quit IRC13:36
*** franred has joined #baserock14:02
*** paulw has quit IRC15:01
*** jjardon__ is now known as jjardon15:10
*** toscalix__ has quit IRC15:16
*** mariaderidder has quit IRC16:43
*** ssam2 has quit IRC16:58
*** bashrc has quit IRC17:08
*** franred has quit IRC17:12
*** zoli__ has joined #baserock17:15
*** franred has joined #baserock17:17
*** lachlanmackenzie has quit IRC18:31
*** zoli__ has quit IRC18:32
*** franred has quit IRC18:57
*** lachlanmackenzie has joined #baserock19:01

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