[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/6388] New: gold runs on assertion with a simple --version-scri
From: |
roland at coware dot com |
Subject: |
[Bug gold/6388] New: gold runs on assertion with a simple --version-script |
Date: |
9 Apr 2008 13:33:39 -0000 |
Some of our tools use --version-script to add symbols to shared libraries. Here
is a very simple example script:
---- version.ld ------
TEST_SYMBOL { global: *; };
---- end version.ld --
When I use this with the gold linker, I get the following error message:
g++ -B /home/baumann/bin -shared -Wl,--version-script,version.ld test.cpp -o
test.so
/home/baumann/bin/real-ld: internal error in do_define_in_output_data, at
symtab.cc:1271
collect2: ld returned 1 exit status
Note that I am not sure whether this is the best way to add the symbol, but the
script works with ld.
The source line refers to revision 1.88 of symtab.cc.
--
Summary: gold runs on assertion with a simple --version-script
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: ian at airs dot com
ReportedBy: roland at coware dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=6388
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/6388] New: gold runs on assertion with a simple --version-script,
roland at coware dot com <=