Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301176 - Gold linker causes paludis to seg fault after rebuilding gcc.
Summary: Gold linker causes paludis to seg fault after rebuilding gcc.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 10:33 UTC by Eric Smith
Modified: 2010-01-28 00:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Smith 2010-01-16 10:33:28 UTC
Steps to reproduce:

1. Install sys-devel/binutils-2.20[gold]
2. Reinstall sys-devel/gcc-4.4.2
3. Run sys-apps/paludis-0.44.0

I was able to get paludis to run again by restoring /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libstdc++.so.6.0.13 from a backup.


Here's the output of gdb:
gdb paludis
warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/paludis...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/paludis 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff58dd710 (LWP 3646)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7eceb24 in _Unwind_RaiseException (exc=0x741c70)
    at /var/tmp/paludis/sys-devel-gcc-4.4.2/work/gcc-4.4.2/libgcc/../gcc/unwind.inc:113
113     /var/tmp/paludis/sys-devel-gcc-4.4.2/work/gcc-4.4.2/libgcc/../gcc/unwind.inc: No such file or directory.
        in /var/tmp/paludis/sys-devel-gcc-4.4.2/work/gcc-4.4.2/libgcc/../gcc/unwind.inc
Comment 1 SpanKY gentoo-dev 2010-01-28 00:27:42 UTC
USE=gold on any version but the absolute latest (2.20.51.0.5 atm) is not supported