=== doko_ [n=doko@dslb-088-073-097-072.pools.arcor-ip.net] has joined #ubuntu-toolchain | ||
=== rickey [n=rickey@pm3-10-02.mvtel.net] has joined #ubuntu-toolchain | ||
rickey | hello | 03:34 |
---|---|---|
=== rickey [n=rickey@pm3-10-02.mvtel.net] has left #ubuntu-toolchain [] | ||
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain | ||
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain | ||
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain | ||
fabbione | doko_: ping? | 10:44 |
doko_ | fabbione: pong | 11:05 |
fabbione | doko_: http://librarian.launchpad.net/4711367/buildlog_ubuntu-edgy-sparc.gcc-3.3_1%3A3.3.6-13_FAILEDTOBUILD.txt.gz | 11:06 |
fabbione | i am bit puzzled about the issue | 11:06 |
fabbione | the FTBFS is "caused" by glibc-2.4 | 11:06 |
fabbione | gnu/stubs.h did change from 2.3 to 2.4 | 11:06 |
fabbione | in 2.3 it was the real include | 11:06 |
fabbione | in 2.4 is a wrapper that loads either stubs-32.h or stubs-64.h according to WORDSIZE that's defined by gcc | 11:07 |
fabbione | now | 11:07 |
fabbione | the interesting thing is that in /usr/include/gnu/ there are stubs-32.h and stubs.h | 11:07 |
fabbione | in /usr/include/sparc64-linux-gnu/gnu there are stubs-64.h and stubs.h | 11:07 |
fabbione | the 2 stubs.h are identical | 11:08 |
fabbione | this situation is consistent on all arches | 11:08 |
fabbione | now.. i believe that gcc-3.3 should look in /usr/include/sparc64-linux-gnu/ when building 64 bit stuff but it doesn't | 11:08 |
fabbione | this bug didn't show up in Debian yet, because their glibc in sid are still 2.3.6 and the one in experimental are totally broken | 11:09 |
fabbione | point is that i have no idea on how to get gcc to look there | 11:09 |
fabbione | if you can hand me a patch on the fly i can test build for you | 11:09 |
doko_ | sparc, or powerpc? | 11:09 |
fabbione | sparc | 11:10 |
fabbione | ppc is fine | 11:10 |
fabbione | it was not biarch at the time | 11:10 |
doko_ | hmm, yes; it doesn't look there ... | 11:16 |
fabbione | yeah i know :) i did spend the last 3 hours poking at it but i truly sucks at gcc | 11:19 |
fabbione | we will need to sit together a bit in UDS MV | 11:19 |
fabbione | CROSS_SYSTEM_HEADER_DIR = $(gcc_tooldir)/sys-include | 11:20 |
fabbione | this one should be the thing that includes that path | 11:20 |
fabbione | i think | 11:20 |
fabbione | brb | 11:20 |
doko_ | gcc-3.3 (1:3.3.6-14) unstable; urgency=low | 11:23 |
doko_ | * Apply the biarch-include patch for non-biarch architectures as well; | 11:23 |
doko_ | adding /usr/include/<target_alias> to the standard include path. | 11:23 |
doko_ | -- Matthias Klose <doko@debian.org> Fri, 14 Jul 2006 15:31:03 +0000 | 11:23 |
doko_ | hmm, never uploaded ... | 11:23 |
doko_ | but ... it should have it for sparc. strange | 11:24 |
fabbione | doko_: ok.. do you want to give me the debdiff so i can test build? | 11:25 |
fabbione | or just upload.. or whatever | 11:25 |
fabbione | it needs to be in the archive sooner later than later | 11:26 |
fabbione | Tollef is killing uninstallable pkgs in the archive | 11:26 |
fabbione | and gcc-3.3 FTBFS makes a couple of -docs uninstallable in edgy/main | 11:26 |
doko_ | fabbione: does gcc-3.3 -v -m64 prints the include dir? | 11:26 |
fabbione | gcc-3.3 -v -m64 | 11:27 |
fabbione | Reading specs from /usr/lib/gcc-lib/sparc-linux-gnu/3.3.6/specs | 11:27 |
fabbione | Configured with: ../src/configure -v --enable-languages=c,c++,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --with-cpu=v7 sparc-linux-gnu | 11:27 |
fabbione | Thread model: posix | 11:27 |
fabbione | gcc version 3.3.6 (Ubuntu 1:3.3.6-10) | 11:27 |
fabbione | no | 11:27 |
doko_ | fannione: please check http://people.ubuntu.com/~doko/ | 11:34 |
fabbione | fannione? :P | 11:37 |
fabbione | building now | 11:39 |
doko_ | oops ... sorry fanny ;-) | 11:40 |
fabbione | eheh | 11:45 |
fabbione | hmm no | 11:51 |
fabbione | didn't help | 11:51 |
fabbione | oh it was not applied at all | 11:53 |
fabbione | ifneq ($(biarch),yes) | 11:55 |
fabbione | ? | 11:55 |
fabbione | shouldn't that be ifeq ($(biarch),yes) | 11:55 |
fabbione | ? | 11:55 |
fabbione | ./xgcc -B./ -B/usr/sparc-linux-gnu/bin/ -isystem /usr/sparc-linux-gnu/include -isystem /usr/sparc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -m64 -DL_muldi3 -c ../../src/gcc/libgcc2.c -o libgcc/64 | 12:02 |
fabbione | /_muldi3.o | 12:02 |
fabbione | In file included from /usr/include/features.h:346, | 12:02 |
fabbione | from /usr/include/stdio.h:28, | 12:02 |
fabbione | from ../../src/gcc/tsystem.h:72, | 12:02 |
fabbione | from ../../src/gcc/libgcc2.c:37: | 12:02 |
fabbione | /usr/include/gnu/stubs.h:9:27: gnu/stubs-64.h: No such file or directory | 12:02 |
fabbione | this is with the patch applied | 12:02 |
fabbione | same error | 12:02 |
fabbione | i don't see that path included | 12:02 |
doko_ | hmm, you should run ./xgcc -v ... | 12:19 |
fabbione | ./build/gcc/xgcc -v | 12:24 |
fabbione | Reading specs from /usr/lib/gcc-lib/sparc-linux-gnu/3.3.6/specs | 12:24 |
fabbione | Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --with-cpu=v8 sparc-linux-gnu | 12:24 |
fabbione | Thread model: posix | 12:24 |
fabbione | gcc version 3.3.6 (Ubuntu 1:3.3.6-13ubuntu1) | 12:24 |
doko_ | no, I mean the whole line, including all args | 12:31 |
doko_ | sorry | 12:31 |
fabbione | doko_: see /msg | 12:32 |
fabbione | it's still not there | 12:32 |
fabbione | oh hoild on | 12:33 |
fabbione | it's missing a piece | 12:33 |
=== rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-toolchain | ||
doko_ | fabbione: you don't have the same problems with 3.4 and 4.0? | 02:13 |
fabbione | doko_: dunno | 02:14 |
fabbione | checking LP build logs | 02:14 |
fabbione | doko_: it looks like they are ok | 02:17 |
fabbione | they have been built with 2.4-1ubuntu6 | 02:17 |
fabbione | i can try to rebuild them if you want | 02:19 |
doko_ | ahh, yes, they will fail in the same way now. | 02:19 |
fabbione | hmmm | 02:19 |
fabbione | hold on a sec | 02:19 |
fabbione | if they fail now and they did build before.. this might be a regression in glibc misplacing the include file | 02:19 |
fabbione | let me check | 02:20 |
doko_ | no, not misplacing, but putting it into /usr/include/sparc64-linux-gnu | 02:20 |
fabbione | i want to check where it was in ubuntu6 | 02:20 |
fabbione | nope.. it was in the same place also in ubuntu6 | 02:22 |
fabbione | i wonder if something else did change and it is defining WORDSIZE=64 | 02:22 |
fabbione | perhaps it was set to 32 before? | 02:22 |
doko_ | $ diff -ur 32/usr/include 64/usr/include/sparc64-linux-gnu|less | 02:23 |
doko_ | Only in 32/usr/include/gnu: stubs-32.h | 02:23 |
doko_ | Only in 64/usr/include/sparc64-linux-gnu/gnu: stubs-64.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: bootparam_prot.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: key_prot.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: klm_prot.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: mount.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: nfs_prot.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: nlm_prot.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: rex.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: rquota.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: rstat.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: rusers.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: sm_inter.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: spray.h | 02:23 |
doko_ | Only in 32/usr/include/rpcsvc: yppasswd.h | 02:23 |
doko_ | that's libc6-dev libc6-dev-sparc64 compared | 02:23 |
fabbione | yeah they didn't change between ubuntu6 and ubuntu11 | 02:26 |
fabbione | (glibc i mean) | 02:26 |
fabbione | and gcc-3.4 and 4.0 were built with ubuntu6 | 02:26 |
fabbione | if they can't build anylonger | 02:26 |
fabbione | it can only be because WORDSIZE did change from 32 to 64 | 02:26 |
fabbione | so stubs.h tries to include something else | 02:26 |
doko_ | no, I think gnu/stubs-64.h was installed as /usr/include/gnu/stubs-64.h | 02:27 |
fabbione | did check that too | 02:27 |
fabbione | it was in /usr/include/sparc64-linux-gnu|less | 02:27 |
fabbione | <doko_> Only in 32/usr/include/gnu: stubs-32.h | 02:27 |
fabbione | ops | 02:28 |
fabbione | it was in /usr/include/sparc64-linux-gnu | 02:28 |
fabbione | https://launchpad.net/+builds/+build/216534/libc6-dev-sparc64 | 02:28 |
fabbione | this is the deb for ubuntu6 | 02:28 |
doko_ | crap, the older build logs are not available | 02:33 |
fabbione | ask infinity | 02:33 |
fabbione | perhaps they are still stored in dak | 02:34 |
doko_ | hmm, no it was always installed in /usr/include/sparc64-linux-gnu | 02:37 |
doko_ | ahh, did look at the wrong patch ... | 02:45 |
doko_ | fabbione: do we need 3.3 to be built as biarch? | 02:45 |
fabbione | (phone ... one sec) | 02:46 |
fabbione | doko_: well i don't want to change gcc-* behaviour now | 03:08 |
fabbione | i want to have it as it should be | 03:08 |
fabbione | let me check if gcc-3.4 and 4.0 suffer of the same issue | 03:09 |
doko_ | fabbione: the only reason for 3.3 beeing in the archive is libstdc++5. | 03:09 |
doko_ | no, 3.4 and 4.0 work | 03:09 |
fabbione | yes i am aware of that | 03:09 |
fabbione | ok | 03:09 |
doko_ | so, do you even need that one on sparc? | 03:10 |
fabbione | i dunno.. we might | 03:12 |
doko_ | ok, but not for 64bit, right? | 03:14 |
fabbione | doko_: i have no clue if users have 64bit apps installed.. we can't predict | 03:17 |
fabbione | i know a lot of people at SUN build 64 bit stuff on Linux.. i get bugged by email about them | 03:18 |
fabbione | (hence why i was considering a pure64 sparc port) | 03:18 |
doko_ | fabbione: we didn't have a release with a g++-3.3 biarch for sparc ... | 03:19 |
=== fabbione scratches his head... | ||
fabbione | doko_: is it so complicated to get it building? | 03:21 |
fabbione | either i totally miss the point of your questions.. or we could just fix the FTBFS (best) | 03:21 |
doko_ | fabbione: apparently I tried, back in July, the package I sent you already disabled biarch for i386 ... | 03:22 |
fabbione | back in July we didn't have glibc-2.4 :) | 03:23 |
fabbione | Debian is even in a worst situation because their glibc doesn't even have stubs-64.h | 03:24 |
fabbione | it seems lost somewhere | 03:24 |
doko_ | 2006-06-08 02:08:54 CEST Removed edgy Release main libs 2.4-1ubuntu0 | 03:24 |
fabbione | doko_: just do what you think it's right... | 03:25 |
fabbione | and let's try to avoid to kill the world | 03:25 |
doko_ | devil^Wsparc's advocate | 03:35 |
fabbione | *grins* | 03:40 |
doko_ | fabbione: faure:~doko/gcc/3.3/ | 06:55 |
fabbione | doko_: what do you want me to do with it? | 06:56 |
fabbione | oh i see :) | 06:56 |
doko_ | please check if 64bit C++ works for you | 06:58 |
=== Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!