[03:34] <rickey> hello
[10:44] <fabbione> doko_: ping?
[11:05] <doko_> fabbione: pong
[11:06] <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:07] <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:08] <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:09] <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:10] <fabbione> sparc
[11:10] <fabbione> ppc is fine
[11:10] <fabbione> it was not biarch at the time
[11:16] <doko_> hmm, yes; it doesn't look there ...
[11:19] <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:20] <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:23] <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:24] <doko_> but ... it should have it for sparc. strange
[11:25] <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:26] <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:27] <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:34] <doko_> fannione: please check  http://people.ubuntu.com/~doko/
[11:37] <fabbione> fannione? :P
[11:39] <fabbione> building now
[11:40] <doko_> oops ... sorry fanny ;-)
[11:45] <fabbione> eheh
[11:51] <fabbione> hmm no
[11:51] <fabbione> didn't help
[11:53] <fabbione> oh it was not applied at all
[11:55] <fabbione> ifneq ($(biarch),yes)
[11:55] <fabbione>  ?
[11:55] <fabbione> shouldn't that be ifeq ($(biarch),yes)
[11:55] <fabbione>  ?
[12:02] <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:19] <doko_> hmm, you should run ./xgcc -v ...
[12:24] <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:31] <doko_> no, I mean the whole line, including all args
[12:31] <doko_> sorry
[12:32] <fabbione> doko_: see /msg
[12:32] <fabbione> it's still not there
[12:33] <fabbione> oh hoild on
[12:33] <fabbione> it's missing a piece
[02:13] <doko_> fabbione: you don't have the same problems with 3.4 and 4.0?
[02:14] <fabbione> doko_: dunno
[02:14] <fabbione> checking LP build logs
[02:17] <fabbione> doko_: it looks like they are ok
[02:17] <fabbione> they have been built with 2.4-1ubuntu6
[02:19] <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:20] <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:22] <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:23] <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:26] <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:27] <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
 Only in 32/usr/include/gnu: stubs-32.h
[02:28] <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:33] <doko_> crap, the older build logs are not available
[02:33] <fabbione> ask infinity 
[02:34] <fabbione> perhaps they are still stored in dak
[02:37] <doko_> hmm, no it was always installed in /usr/include/sparc64-linux-gnu
[02:45] <doko_> ahh, did look at the wrong patch ...
[02:45] <doko_> fabbione: do we need 3.3 to be built as biarch?
[02:46] <fabbione> (phone ... one sec)
[03:08] <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:09] <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:10] <doko_> so, do you even need that one on sparc?
[03:12] <fabbione> i dunno.. we might
[03:14] <doko_> ok, but not for 64bit, right?
[03:17] <fabbione> doko_: i have no clue if users have 64bit apps installed.. we can't predict
[03:18] <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:19] <doko_> fabbione: we didn't have a release with a g++-3.3 biarch for sparc ...
[03:21] <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:22] <doko_> fabbione: apparently I tried, back in July, the package I sent you already disabled biarch for i386 ...
[03:23] <fabbione> back in July we didn't have glibc-2.4 :)
[03:24] <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:25] <fabbione> doko_: just do what you think it's right...
[03:25] <fabbione> and let's try to avoid to kill the world
[03:35] <doko_> devil^Wsparc's advocate 
[03:40] <fabbione> *grins*
[06:55] <doko_> fabbione: faure:~doko/gcc/3.3/
[06:56] <fabbione> doko_: what do you want me to do with it?
[06:56] <fabbione> oh i see :)
[06:58] <doko_> please check if 64bit C++ works for you