Re: can't compile kernel for parisc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> (no debugging symbols found)
> /usr/bin/ld:
> Program received signal SIGSEGV, Segmentation fault.
> 0x4080f404 in strlen () from /lib/libc.so.6
> (gdb) backtrace
> #0  0x4080f404 in strlen () from /lib/libc.so.6
> #1  0x407d5428 in vfprintf () from /lib/libc.so.6
> #2  0x407d1304 in ?? () from /lib/libc.so.6
> #3  0x407d18b0 in vfprintf () from /lib/libc.so.6
> #4  0x4088359c in __vfprintf_chk () from /lib/libc.so.6
> #5  0x4040cdc8 in _bfd_default_error_handler () from
> /usr/lib/binutils/hppa2.0-unknown-linux-gnu/2.18/libbfd-2.18.so
> #6  0x40432034 in ?? () from
> /usr/lib/binutils/hppa2.0-unknown-linux-gnu/2.18/libbfd-2.18.so
> #7  0x40452f58 in bfd_elf_final_link () from
> /usr/lib/binutils/hppa2.0-unknown-linux-gnu/2.18/libbfd-2.18.so
> #8  0x4042e764 in ?? () from
> /usr/lib/binutils/hppa2.0-unknown-linux-gnu/2.18/libbfd-2.18.so
> #9  0x00029f3c in ?? ()
> #10 0x000295c8 in main ()
> 
> Glibc is  2.9_p20081201, I will try older version.

Assuming you have the glibc debug libraries, try the same backtrace
with LD_LIBRARY_PATH set to /usr/lib/debug.  Try to determine
if a bad pointer has been passed from _bfd_default_error_handler.
This seems likely.

binutils has likely been miscompiled, or your kernel build has
exposed a problem in binutils.  We may be not handling a relocation
correctly during the final link.

If you can, would you build CVS binutils with debugging.  Disable
building shared libraries so we don't use libbfd-2.18.so.  Install
it somewhere.  Replace your current versions of as and ld.  Then
redo the kernel build.  If the same error occurs, we will have a
version that can be debugged.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux