From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from spoolo4.tiscali.be (spoolo4.tiscali.be [62.235.13.170]) by dsl2.external.hp.com (Postfix) with ESMTP id 46817487E for ; Sat, 13 Mar 2004 11:58:04 -0700 (MST) Message-ID: <40535A0A.4020209@tiscali.be> Date: Sat, 13 Mar 2004 18:59:22 +0000 From: Joel Soete MIME-Version: 1.0 To: Carlos O'Donell Subject: Re: [parisc-linux] RE: New glibc patches 2004-03-08, fixes GLRO changes. References: <20040312164116.GI24266@baldric.uwo.ca> <404EC1C600002B98@ocpmta1.freegates.net> <20040312212012.GS24266@baldric.uwo.ca> In-Reply-To: <20040312212012.GS24266@baldric.uwo.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: parisc-linux@lists.parisc-linux.org List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Carlos O'Donell wrote: > On Fri, Mar 12, 2004 at 06:33:11PM +0100, Joel Soete wrote: > >>Hmmm all output files realted to Error1 was empty because of: >>hppa-linux-gcc -nostdlib -nostartfiles -o /Develop/parisc-linux/build/glibc/posix/tst-regex >> -Wl,-dynamic-linker=/lib/ld.so.1 >>/Develop/parisc-linux/build/glibc/csu/crt1.o /Develop/parisc-linux/build/glibc/csu/crti.o >>`hppa-linux-gcc --print-file-name=crtbegin.o` /Develop/parisc-linux/build/glibc/posix/tst-regex.o >>/Develop/parisc-linux/build/glibc/rt/librt.so -Wl,-rpath-link=/Develop/parisc-linux/build/glibc:/Develop/parisc-linux/build/glibc/math:/Develop/parisc-linux/build/glibc/elf:/Develop/parisc-linux/build/glibc/dlfcn:/Develop/parisc-linux/build/glibc/nss: >>/Develop/parisc-linux/build/glibc/nis:/Develop/parisc-linux/build/glibc/rt:/Develop/parisc-linux/build/glibc/resolv:/Develop/parisc-linux/build/glibc/crypt:/Develop/parisc-linux/build/glibc/linuxthreads >>/Develop/parisc-linux/build/glibc/libc.so.6 /Develop/parisc-linux/build/glibc/libc_nonshared.a >>-lgcc `hppa-linux-gcc --print-file-name=crtend.o` /Develop/parisc-linux/build/glibc/csu/crtn.o >>/Develop/parisc-linux/build/glibc/rt/librt.so: undefined reference to `pthread_create' >>/Develop/parisc-linux/build/glibc/rt/librt.so: undefined reference to `_pthread_cleanup_pop' >>/Develop/parisc-linux/build/glibc/rt/librt.so: undefined reference to `pthread_once' >>/Develop/parisc-linux/build/glibc/rt/librt.so: undefined reference to `_pthread_cleanup_push' >>/Develop/parisc-linux/build/glibc/rt/librt.so: undefined reference to `pthread_atfork' >>collect2: ld returned 1 exit status >>make[2]: *** [/Develop/parisc-linux/build/glibc/posix/tst-regex] Error 1 > > > Are you sure you thread library was built correctly? oops, I need more check on Monday (sorry) (btw I forget to transmit you my final patch about feupdate > Do you see those > symbols in libpthread? All those issues are related to libpthread being > broken somehow. > > >>make[2]: *** [/Develop/parisc-linux/build/glibc/elf/tst-dlmodcount.out] Error 139 >>do_page_fault() pid=9891 command='ld.so.1' type=15 address=0x401aca28 >>vm_start = 0x40177000, vm_end = 0x4017c000 > > > Can you run the loader through gdb, and give an assembly dump around the > address where it crashes? > No pb if gdb don't segv (but iirc that only appened with gcc-3.5) and if lucky I could also garb a bt :). Btw in previous test, I noticed that IAOQ was for instance =0x41007293 when gdb shows me the actual address of the crash at '0x41007293 - 3' and I find well the corresponding code at 7290 in an 'objdump -d'. Do you know why this diff of 3? Sorry for delay, at Monday, Joel