public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
@ 2003-05-25 4:05 ` dhazeghi@yahoo.com
2003-05-25 4:26 ` pinskia@physics.uc.edu
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-25 4:05 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
------- Additional Comments From dhazeghi@yahoo.com 2003-05-25 03:56 -------
Hello,
you reported this bug against gcc 3.0? Would it be possible to check whether gcc 3.3 still has this
bug in it? Or to reduce a testcase for other platforms? Thanks,
Dara
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
2003-05-25 4:05 ` [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early dhazeghi@yahoo.com
@ 2003-05-25 4:26 ` pinskia@physics.uc.edu
2003-05-25 4:52 ` tilps@hotmail.com
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-25 4:26 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
2003-05-25 4:05 ` [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early dhazeghi@yahoo.com
2003-05-25 4:26 ` pinskia@physics.uc.edu
@ 2003-05-25 4:52 ` tilps@hotmail.com
2003-06-28 4:15 ` pinskia at physics dot uc dot edu
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: tilps@hotmail.com @ 2003-05-25 4:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
tilps@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|3.0 |3.4
------- Additional Comments From tilps@hotmail.com 2003-05-25 04:38 -------
On the machine i used to report this - I now use gcc 3.4 CVS - I still use the
same patch, but I am no longer attempting to compile mozilla with gcc on this
platform.
However, I see no reason for why my patch is no longer needed, despite not
having a test case around to check anymore.
To clarify, if collect2 creates a temporary object for the purposes of
constructors etc - and -soname option is specified on the link line before other
objects - then things will break.
This is because the name after -soname generally ends in .so - and will be
recognised as an object. Also, because first_file will be set until an object is
actually found - the o_file will be inserted into the argument list before the
name associated with -soname. Therefore ld will think the temporary object file
is the soname - and the soname is an object file needing to be linked. Ld will
fail to find this object and die.
Basically, unpatched - collect2 knows nothing about -soname options and
correspondingly how to deal with -soname's argument. My patch simply makes it
auto add the next entry, so as to ensure that the argument is passed togeather
with the -soname option.
If i understood the mechanisms which cause collect2 to create a temporary object
- then creating a testcase should be simple. However i dont, and dont have time
to right now.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
` (2 preceding siblings ...)
2003-05-25 4:52 ` tilps@hotmail.com
@ 2003-06-28 4:15 ` pinskia at physics dot uc dot edu
2003-07-28 1:36 ` pinskia at physics dot uc dot edu
2003-12-10 0:04 ` dhazeghi at yahoo dot com
5 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-28 4:15 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-06-28 04:15:51
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-28 04:15 -------
This should not be in waiting since the bug is there but not fixed yet.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
` (3 preceding siblings ...)
2003-06-28 4:15 ` pinskia at physics dot uc dot edu
@ 2003-07-28 1:36 ` pinskia at physics dot uc dot edu
2003-12-10 0:04 ` dhazeghi at yahoo dot com
5 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28 1:36 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anonymous at sourceware dot
| |cygnus dot com
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-28 01:36 -------
*** Bug 1963 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early.
[not found] <20020223164600.5762.tilps@hotmail.com>
` (4 preceding siblings ...)
2003-07-28 1:36 ` pinskia at physics dot uc dot edu
@ 2003-12-10 0:04 ` dhazeghi at yahoo dot com
5 siblings, 0 replies; 6+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-10 0:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2003-12-10 00:04 -------
Confirmed on mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
CC|anonymous at sourceware dot |
|cygnus dot com |
Keywords| |patch
Last reconfirmed|2003-11-19 06:41:19 |2003-12-10 00:04:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5762
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-12-10 0:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20020223164600.5762.tilps@hotmail.com>
2003-05-25 4:05 ` [Bug other/5762] collect2 passes o_file too soon if -soname option is passed early dhazeghi@yahoo.com
2003-05-25 4:26 ` pinskia@physics.uc.edu
2003-05-25 4:52 ` tilps@hotmail.com
2003-06-28 4:15 ` pinskia at physics dot uc dot edu
2003-07-28 1:36 ` pinskia at physics dot uc dot edu
2003-12-10 0:04 ` dhazeghi at yahoo dot com
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).