public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30305] New: [link-failure] .debug_info causes undefined reference.
@ 2006-12-26 14:48 pluto at agmk dot net
2006-12-26 17:37 ` [Bug c++/30305] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: pluto at agmk dot net @ 2006-12-26 14:48 UTC (permalink / raw)
To: gcc-bugs
$ cat x.cpp
char const c1[] = { '\0' };
static char const* cp1 = c1;
int main() { return 0; }
$ g++ -Wall -gdwarf-2 -g2 x.cpp -o x
x.cpp:2: warning: ‘cp1’ defined but not used
/tmp/ccyTiLjt.o:(.debug_info+0xe2): undefined reference to `c1'
collect2: ld returned 1 exit status
gcc version 4.2.0 20061225
--
Summary: [link-failure] .debug_info causes undefined reference.
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30305
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/30305] [link-failure] .debug_info causes undefined reference.
2006-12-26 14:48 [Bug c++/30305] New: [link-failure] .debug_info causes undefined reference pluto at agmk dot net
@ 2006-12-26 17:37 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-26 17:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-26 17:37 -------
*** This bug has been marked as a duplicate of 27657 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30305
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-26 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-26 14:48 [Bug c++/30305] New: [link-failure] .debug_info causes undefined reference pluto at agmk dot net
2006-12-26 17:37 ` [Bug c++/30305] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).