Return-Path: Received: from www.linux.org.uk (parcelfarce.linux.theplanet.co.uk [195.92.249.252]) by dsl2.external.hp.com (Postfix) with ESMTP id B7DD3482A for ; Tue, 28 Aug 2001 12:47:14 -0600 (MDT) Received: from willy by www.linux.org.uk with local (Exim 3.13 #1) id 15bntJ-0003ov-00; Tue, 28 Aug 2001 19:47:13 +0100 Date: Tue, 28 Aug 2001 19:47:13 +0100 From: Matthew Wilcox To: "Carlos O'Donell Jr." , baldric-exec@baldric.uwo.ca, willy@debian.org, parisc-linux@lists.parisc-linux.org Subject: Re: [parisc-linux] Building from scratch. Message-ID: <20010828194713.A2995@parcelfarce.linux.theplanet.co.uk> References: <20010826162754.A10072@megatonmonkey.net> <20010827203849.H525@parcelfarce.linux.theplanet.co.uk> <20010828003952.M28978@megatonmonkey.net> <20010828061037.A13332@parcelfarce.linux.theplanet.co.uk> <20010828071743.A1289@megatonmonkey.net> <20010828155619.I18341@parcelfarce.linux.theplanet.co.uk> <20010828112900.B30657@megatonmonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20010828112900.B30657@megatonmonkey.net>; from carlos@megatonmonkey.net on Tue, Aug 28, 2001 at 11:29:00AM -0400 Sender: List-ID: On Tue, Aug 28, 2001 at 11:29:00AM -0400, Carlos O'Donell Jr. wrote: > I've never merged upstream, does it hurt? :} Sometimes... see the archives. > Are you using dpkg-buildpackage to build it all? Yes, it takes a tree and builds new .deb files out of it for you. > Not having a debain based system makes it harder to test this... > (I might install all the deb tools and give it a try...) Could help you out later, yep. > 'make install' worked on my box. > > I theoretically have a working glibc 2.2.4-1 created using gcc-latest and > binutils-latest from the parisc ftp-site. Mmm. I would expect it to not work. My build dies when it uses part of itself in the install: /home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/elf/ld.so.1 --library-path /home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj:/home/willy/glibc/2.2.4-1/g libc-2.2.4/hppa-linux/obj/math:/home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/ obj/elf:/home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/dlfcn:/home/willy/g libc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/nss:/home/willy/glibc/2.2.4-1/glibc-2.2. 4/hppa-linux/obj/nis:/home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/rt:/ho me/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/resolv:/home/willy/glibc/2.2.4 -1/glibc-2.2.4/hppa-linux/obj/crypt:/home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-l inux/obj/linuxthreads /home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/obj/timez one/zic -d /home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/install_root/usr/sha re/zoneinfo -L /dev/null -y ./yearistype africa make[3]: *** [/home/willy/glibc/2.2.4-1/glibc-2.2.4/hppa-linux/install_root/usr/ share/zoneinfo/Africa/Algiers] Segmentation fault running this under gdb gives: Program received signal SIGSEGV, Segmentation fault. _dl_debug_vdprintf (fd=0, tag_p=0, fmt=0x173dc
, arg=0xbff008d8) at dl-misc.c:101 101 while (*fmt != '\0') (gdb) bt #0 _dl_debug_vdprintf (fd=0, tag_p=0, fmt=0x173dc
, arg=0xbff008d8) at dl-misc.c:101 #1 0x4100e468 in _dl_dprintf (fd=2, fmt=0x173dc
) at dl-misc.c:273 #2 0x41012454 in __assert_fail ( assertion=0x15314
, file=0x0, line=62, function=0xbff008d8 "") at dl-minimal.c:190 #3 0x41002e88 in elf_get_dynamic_info___3 (l=0x2) at rtld.c:62 #4 0x41002f90 in _dl_start (arg=0xbff004f4) at rtld.c:172 #5 0x41002ac8 in _dl_start_user () at rtld.c:135 (gdb) It looks to me like the problem occurred in frame #3 where elf_get_dynamic_info was passed `2' as a value. Bizarrely, this is the address of a stack variable (take a look in rtld.c), so I am stumped and I've been working on more interesting stuff instead. I tried several times to attract BenC's attention on this and didn't get anywhere. -- Revolutions do not require corporate support.