public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40267] New: Eventually get rid of libgfortranbegin.a
@ 2009-05-27 7:28 burnus at gcc dot gnu dot org
2009-05-28 16:03 ` [Bug libfortran/40267] " fxcoudert at gcc dot gnu dot org
2009-05-28 21:50 ` burnus at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-05-27 7:28 UTC (permalink / raw)
To: gcc-bugs
Follow up to PR 39178. Until that patch for GCC 4.5, gfortran generated for the
main PROGRAM only "MAIN__" and no "main"; the latter was then included by
linking libgfortran.a
With the patch (PR 39178), libgfortran.a became obsolete and is no longer
linked by gfortran. It is still present, however, and thus "gcc ...
-llibgfortranbegin" still works - but it has no effect. (At least when the *.o
file with "main()" comes first - otherwise one gets a double-"main" linker
error.)
Some makefiles explicitly link libgfortranbegin thus they will break when
libgfortranbegin.a is removed (cf. link below).
Removal: Remove libgfortran/fmain.c, update libgfortran/Makefile.am and
(re)generate libgfortran/Makefile.in
See the following thread about sentiments regarding the removal:
http://gcc.gnu.org/ml/gcc-patches/2009-05/threads.html#01604
--
Summary: Eventually get rid of libgfortranbegin.a
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40267
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libfortran/40267] Eventually get rid of libgfortranbegin.a
2009-05-27 7:28 [Bug fortran/40267] New: Eventually get rid of libgfortranbegin.a burnus at gcc dot gnu dot org
@ 2009-05-28 16:03 ` fxcoudert at gcc dot gnu dot org
2009-05-28 21:50 ` burnus at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-05-28 16:03 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Component|fortran |libfortran
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-05-28 16:03:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40267
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libfortran/40267] Eventually get rid of libgfortranbegin.a
2009-05-27 7:28 [Bug fortran/40267] New: Eventually get rid of libgfortranbegin.a burnus at gcc dot gnu dot org
2009-05-28 16:03 ` [Bug libfortran/40267] " fxcoudert at gcc dot gnu dot org
@ 2009-05-28 21:50 ` burnus at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-05-28 21:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2009-05-28 21:50 -------
Before removal, one may deprecate it as explained at:
http://gcc.gnu.org/ml/fortran/2009-05/msg00400.html
http://gcc.gnu.org/ml/fortran/2009-05/msg00401.html
(I needed to remove the , "rd" to get it assemble. And testing did not show
an error for linking "file.o libgfortranbegin.a".)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40267
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-28 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 7:28 [Bug fortran/40267] New: Eventually get rid of libgfortranbegin.a burnus at gcc dot gnu dot org
2009-05-28 16:03 ` [Bug libfortran/40267] " fxcoudert at gcc dot gnu dot org
2009-05-28 21:50 ` burnus 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).