public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50406] New: ld undefined reference to __MOD_str
@ 2011-09-15 8:32 zeccav at gmail dot com
2011-09-15 13:50 ` [Bug fortran/50406] " Joost.VandeVondele at pci dot uzh.ch
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2011-09-15 8:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50406
Bug #: 50406
Summary: ld undefined reference to __MOD_str
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zeccav@gmail.com
Created attachment 25282
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25282
just compile and link
ld undefined reference to __MOD_str
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/50406] ld undefined reference to __MOD_str
2011-09-15 8:32 [Bug fortran/50406] New: ld undefined reference to __MOD_str zeccav at gmail dot com
@ 2011-09-15 13:50 ` Joost.VandeVondele at pci dot uzh.ch
2013-04-16 8:48 ` zeccav at gmail dot com
2015-09-02 13:12 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-09-15 13:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50406
Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-09-15
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/50406] ld undefined reference to __MOD_str
2011-09-15 8:32 [Bug fortran/50406] New: ld undefined reference to __MOD_str zeccav at gmail dot com
2011-09-15 13:50 ` [Bug fortran/50406] " Joost.VandeVondele at pci dot uzh.ch
@ 2013-04-16 8:48 ` zeccav at gmail dot com
2015-09-02 13:12 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2013-04-16 8:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50406
Vittorio Zecca <zeccav at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.7.0 |4.8.0
--- Comment #1 from Vittorio Zecca <zeccav at gmail dot com> 2013-04-16 08:48:14 UTC ---
I still have the same bug on gfortran 4.8.0.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/50406] ld undefined reference to __MOD_str
2011-09-15 8:32 [Bug fortran/50406] New: ld undefined reference to __MOD_str zeccav at gmail dot com
2011-09-15 13:50 ` [Bug fortran/50406] " Joost.VandeVondele at pci dot uzh.ch
2013-04-16 8:48 ` zeccav at gmail dot com
@ 2015-09-02 13:12 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2015-09-02 13:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50406
--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> ---
! gfortran produces weird ld message undefined reference to `___MOD_str'
module m
contains
function fun(i)
character(2), PARAMETER :: str(1) = (/'SD'/)
character(len_trim(str(i))) :: fun
fun = str(i)
end function
end
use m
print *,fun(1) ! should display "SD"
end
gfortran gfbug48.f
/tmp/ccpTCSOy.o: In function `MAIN__':
gfbug48.f:(.text+0x132): undefined reference to `___MOD_str'
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-02 13:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15 8:32 [Bug fortran/50406] New: ld undefined reference to __MOD_str zeccav at gmail dot com
2011-09-15 13:50 ` [Bug fortran/50406] " Joost.VandeVondele at pci dot uzh.ch
2013-04-16 8:48 ` zeccav at gmail dot com
2015-09-02 13:12 ` zeccav at gmail 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).