* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
@ 2009-10-11 15:32 ` dave at hiauly1 dot hia dot nrc dot ca
2009-10-24 12:04 ` rguenth at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-10-11 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-11 15:32 -------
Subject: Re: [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols:
_GLOBAL__I_65535_0_main
Introduced between 152432 and 152630.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
2009-10-11 15:32 ` [Bug middle-end/41674] [4.5 Regression] " dave at hiauly1 dot hia dot nrc dot ca
@ 2009-10-24 12:04 ` rguenth at gcc dot gnu dot org
2009-10-24 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-24 12:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-24 12:03 -------
Can you attach preprocessed source (or reduce the testcase to not require
headers?)
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
2009-10-11 15:32 ` [Bug middle-end/41674] [4.5 Regression] " dave at hiauly1 dot hia dot nrc dot ca
2009-10-24 12:04 ` rguenth at gcc dot gnu dot org
@ 2009-10-24 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
2009-11-09 13:03 ` rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2009-10-24 22:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-24 22:49 -------
Subject: Re: [4.5 Regression] /usr/ccs/bin/ld:
Unsatisfied symbols: _GLOBAL__I_65535_0_main
On Sat, 24 Oct 2009, rguenth at gcc dot gnu dot org wrote:
> Can you attach preprocessed source (or reduce the testcase to not require
> headers?)
Attached.
Dave
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-24 22:49 -------
Created an attachment (id=18889)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18889&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-10-24 22:50 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2009-11-09 13:03 ` rguenth at gcc dot gnu dot org
2009-11-27 11:12 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-09 13:03 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-11-09 13:03:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-11-09 13:03 ` rguenth at gcc dot gnu dot org
@ 2009-11-27 11:12 ` rguenth at gcc dot gnu dot org
2009-11-27 18:39 ` danglin at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-27 11:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-11-27 11:12 -------
Does this still happen?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-11-27 11:12 ` rguenth at gcc dot gnu dot org
@ 2009-11-27 18:39 ` danglin at gcc dot gnu dot org
2009-12-07 2:55 ` danglin at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-11-27 18:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from danglin at gcc dot gnu dot org 2009-11-27 18:39 -------
Fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-11-27 18:39 ` danglin at gcc dot gnu dot org
@ 2009-12-07 2:55 ` danglin at gcc dot gnu dot org
2009-12-24 22:13 ` danglin at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-12-07 2:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from danglin at gcc dot gnu dot org 2009-12-07 02:55 -------
The failures still occur on hppa2.0w-hp-hpux11.11.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
GCC host triplet|hppa2.0w-hp-hpux11.11, |hppa2.0w-hp-hpux11.11
|hppa64-hp-hpux11.11 |
GCC target triplet|hppa2.0w-hp-hpux11.11, |hppa2.0w-hp-hpux11.11
|hppa64-hp-hpux11.11 |
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-12-07 2:55 ` danglin at gcc dot gnu dot org
@ 2009-12-24 22:13 ` danglin at gcc dot gnu dot org
2010-01-11 21:51 ` danglin at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-12-24 22:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from danglin at gcc dot gnu dot org 2009-12-24 22:13 -------
This appears to be a problem with cgraph_externally_visible_p.
function_and_variable_visibility sets the TREE_PUBLIC flag in
decl to zeor when cgraph_externally_visible_p returns false.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-12-24 22:13 ` danglin at gcc dot gnu dot org
@ 2010-01-11 21:51 ` danglin at gcc dot gnu dot org
2010-02-20 5:42 ` jason at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-01-11 21:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from danglin at gcc dot gnu dot org 2010-01-11 21:51 -------
Patch here:
http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00066.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (8 preceding siblings ...)
2010-01-11 21:51 ` danglin at gcc dot gnu dot org
@ 2010-02-20 5:42 ` jason at gcc dot gnu dot org
2010-02-20 14:03 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-20 5:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jason at gcc dot gnu dot org 2010-02-20 05:42 -------
That patch seems like too big a hammer; it basically undoes the effect of
-fwhole-program. I think we want to limit the change to the functions created
by cgraph_build_static_cdtor.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (9 preceding siblings ...)
2010-02-20 5:42 ` jason at gcc dot gnu dot org
@ 2010-02-20 14:03 ` rguenth at gcc dot gnu dot org
2010-03-27 15:43 ` danglin at gcc dot gnu dot org
2010-03-27 15:54 ` danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-20 14:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rguenth at gcc dot gnu dot org 2010-02-20 14:03 -------
Are they marked as DECL_PRESERVED_P? No, they are not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (10 preceding siblings ...)
2010-02-20 14:03 ` rguenth at gcc dot gnu dot org
@ 2010-03-27 15:43 ` danglin at gcc dot gnu dot org
2010-03-27 15:54 ` danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-03-27 15:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from danglin at gcc dot gnu dot org 2010-03-27 15:43 -------
Subject: Bug 41674
Author: danglin
Date: Sat Mar 27 15:43:19 2010
New Revision: 157779
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157779
Log:
PR middle-end/41674
* cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
cdtors, set DECL_PRESERVE_P.
* ipa.c (cgraph_externally_visible_p): Return true if declaration
should be preseved.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/ipa.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main
2009-10-11 14:36 [Bug middle-end/41674] New: /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main danglin at gcc dot gnu dot org
` (11 preceding siblings ...)
2010-03-27 15:43 ` danglin at gcc dot gnu dot org
@ 2010-03-27 15:54 ` danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-03-27 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from danglin at gcc dot gnu dot org 2010-03-27 15:53 -------
Fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674
^ permalink raw reply [flat|nested] 14+ messages in thread