/srv/irclogs.ubuntu.com/2006/10/10/#ubuntu-toolchain.txt

=== 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
rickeyhello03: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
fabbionedoko_: ping?10:44
doko_fabbione: pong11:05
fabbionedoko_: http://librarian.launchpad.net/4711367/buildlog_ubuntu-edgy-sparc.gcc-3.3_1%3A3.3.6-13_FAILEDTOBUILD.txt.gz11:06
fabbionei am bit puzzled about the issue11:06
fabbionethe FTBFS is "caused" by glibc-2.411:06
fabbionegnu/stubs.h did change from 2.3 to 2.411:06
fabbionein 2.3 it was the real include11:06
fabbionein 2.4 is a wrapper that loads either stubs-32.h or stubs-64.h according to WORDSIZE that's defined by gcc11:07
fabbionenow11:07
fabbionethe interesting thing is that in /usr/include/gnu/ there are stubs-32.h and stubs.h11:07
fabbionein /usr/include/sparc64-linux-gnu/gnu there are stubs-64.h and stubs.h11:07
fabbionethe 2 stubs.h are identical11:08
fabbionethis situation is consistent on all arches11:08
fabbionenow.. i believe that gcc-3.3 should look in /usr/include/sparc64-linux-gnu/ when building 64 bit stuff but it doesn't11:08
fabbionethis 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 broken11:09
fabbionepoint is that i have no idea on how to get gcc to look there11:09
fabbioneif you can hand me a patch on the fly i can test build for you11:09
doko_sparc, or powerpc?11:09
fabbionesparc11:10
fabbioneppc is fine11:10
fabbioneit was not biarch at the time11:10
doko_hmm, yes; it doesn't look there ...11:16
fabbioneyeah i know :) i did spend the last 3 hours poking at it but i truly sucks at gcc11:19
fabbionewe will need to sit together a bit in UDS MV 11:19
fabbioneCROSS_SYSTEM_HEADER_DIR = $(gcc_tooldir)/sys-include 11:20
fabbionethis one should be the thing that includes that path11:20
fabbionei think11:20
fabbionebrb11:20
doko_gcc-3.3 (1:3.3.6-14) unstable; urgency=low11: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 +000011:23
doko_hmm, never uploaded ...11:23
doko_but ... it should have it for sparc. strange11:24
fabbionedoko_: ok.. do you want to give me the debdiff so i can test build?11:25
fabbioneor just upload.. or whatever11:25
fabbioneit needs to be in the archive sooner later than later11:26
fabbioneTollef is killing uninstallable pkgs in the archive11:26
fabbioneand gcc-3.3 FTBFS makes a couple of -docs uninstallable in edgy/main11:26
doko_fabbione: does gcc-3.3 -v -m64 prints the include dir?11:26
fabbionegcc-3.3 -v -m6411:27
fabbioneReading specs from /usr/lib/gcc-lib/sparc-linux-gnu/3.3.6/specs11:27
fabbioneConfigured 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-gnu11:27
fabbioneThread model: posix11:27
fabbionegcc version 3.3.6 (Ubuntu 1:3.3.6-10)11:27
fabbioneno11:27
doko_fannione: please check  http://people.ubuntu.com/~doko/11:34
fabbionefannione? :P11:37
fabbionebuilding now11:39
doko_oops ... sorry fanny ;-)11:40
fabbioneeheh11:45
fabbionehmm no11:51
fabbionedidn't help11:51
fabbioneoh it was not applied at all11:53
fabbioneifneq ($(biarch),yes)11:55
fabbione ?11:55
fabbioneshouldn'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/6412:02
fabbione/_muldi3.o12:02
fabbioneIn 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 directory12:02
fabbionethis is with the patch applied12:02
fabbionesame error12:02
fabbionei don't see that path included12:02
doko_hmm, you should run ./xgcc -v ...12:19
fabbione./build/gcc/xgcc -v12:24
fabbioneReading specs from /usr/lib/gcc-lib/sparc-linux-gnu/3.3.6/specs12:24
fabbioneConfigured 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-gnu12:24
fabbioneThread model: posix12:24
fabbionegcc version 3.3.6 (Ubuntu 1:3.3.6-13ubuntu1)12:24
doko_no, I mean the whole line, including all args12:31
doko_sorry12:31
fabbionedoko_: see /msg12:32
fabbioneit's still not there12:32
fabbioneoh hoild on12:33
fabbioneit's missing a piece12: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
fabbionedoko_: dunno02:14
fabbionechecking LP build logs02:14
fabbionedoko_: it looks like they are ok02:17
fabbionethey have been built with 2.4-1ubuntu602:17
fabbionei can try to rebuild them if you want02:19
doko_ahh, yes, they will fail in the same way now. 02:19
fabbionehmmm02:19
fabbionehold on a sec02:19
fabbioneif they fail now and they did build before.. this might be a regression in glibc misplacing the include file02:19
fabbionelet me check02:20
doko_no, not misplacing, but putting it into /usr/include/sparc64-linux-gnu02:20
fabbionei want to check where it was in ubuntu602:20
fabbionenope.. it was in the same place also in ubuntu602:22
fabbionei wonder if something else did change and it is defining WORDSIZE=6402:22
fabbioneperhaps it was set to 32 before?02:22
doko_$ diff -ur 32/usr/include 64/usr/include/sparc64-linux-gnu|less02:23
doko_Only in 32/usr/include/gnu: stubs-32.h02:23
doko_Only in 64/usr/include/sparc64-linux-gnu/gnu: stubs-64.h02:23
doko_Only in 32/usr/include/rpcsvc: bootparam_prot.h02:23
doko_Only in 32/usr/include/rpcsvc: key_prot.h02:23
doko_Only in 32/usr/include/rpcsvc: klm_prot.h02:23
doko_Only in 32/usr/include/rpcsvc: mount.h02:23
doko_Only in 32/usr/include/rpcsvc: nfs_prot.h02:23
doko_Only in 32/usr/include/rpcsvc: nlm_prot.h02:23
doko_Only in 32/usr/include/rpcsvc: rex.h02:23
doko_Only in 32/usr/include/rpcsvc: rquota.h02:23
doko_Only in 32/usr/include/rpcsvc: rstat.h02:23
doko_Only in 32/usr/include/rpcsvc: rusers.h02:23
doko_Only in 32/usr/include/rpcsvc: sm_inter.h02:23
doko_Only in 32/usr/include/rpcsvc: spray.h02:23
doko_Only in 32/usr/include/rpcsvc: yppasswd.h02:23
doko_that's libc6-dev libc6-dev-sparc64 compared02:23
fabbioneyeah they didn't change between ubuntu6 and ubuntu1102:26
fabbione(glibc i mean)02:26
fabbioneand gcc-3.4 and 4.0 were built with ubuntu602:26
fabbioneif they can't build anylonger02:26
fabbioneit can only be because WORDSIZE did change from 32 to 6402:26
fabbioneso stubs.h tries to include something else02:26
doko_no, I think gnu/stubs-64.h was installed as /usr/include/gnu/stubs-64.h02:27
fabbionedid check that too02:27
fabbioneit was in /usr/include/sparc64-linux-gnu|less02:27
fabbione<doko_> Only in 32/usr/include/gnu: stubs-32.h02:27
fabbioneops02:28
fabbioneit was in /usr/include/sparc64-linux-gnu02:28
fabbionehttps://launchpad.net/+builds/+build/216534/libc6-dev-sparc6402:28
fabbionethis is the deb for ubuntu602:28
doko_crap, the older build logs are not available02:33
fabbioneask infinity 02:33
fabbioneperhaps they are still stored in dak02:34
doko_hmm, no it was always installed in /usr/include/sparc64-linux-gnu02: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
fabbionedoko_: well i don't want to change gcc-* behaviour now03:08
fabbionei want to have it as it should be03:08
fabbionelet me check if gcc-3.4 and 4.0 suffer of the same issue03: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 work03:09
fabbioneyes i am aware of that03:09
fabbioneok03:09
doko_so, do you even need that one on sparc?03:10
fabbionei dunno.. we might03:12
doko_ok, but not for 64bit, right?03:14
fabbionedoko_: i have no clue if users have 64bit apps installed.. we can't predict03:17
fabbionei know a lot of people at SUN build 64 bit stuff on Linux.. i get bugged by email about them03: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...
fabbionedoko_: is it so complicated to get it building?03:21
fabbioneeither 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
fabbioneback in July we didn't have glibc-2.4 :)03:23
fabbioneDebian is even in a worst situation because their glibc doesn't even have stubs-64.h03:24
fabbioneit seems lost somewhere03:24
doko_2006-06-08 02:08:54 CEST  Removed  edgy   Release  main  libs  2.4-1ubuntu003:24
fabbionedoko_: just do what you think it's right...03:25
fabbioneand let's try to avoid to kill the world03:25
doko_devil^Wsparc's advocate 03:35
fabbione*grins*03:40
doko_fabbione: faure:~doko/gcc/3.3/06:55
fabbionedoko_: what do you want me to do with it?06:56
fabbioneoh i see :)06:56
doko_please check if 64bit C++ works for you06: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!