This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fortran/3148: Error: libg2c.a is 32-bit when a 64-bit object is expected



>Number:         3148
>Category:       fortran
>Synopsis:       Error: libg2c.a is 32-bit when a 64-bit object is expected
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 15:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     jimshep@mindspring.com
>Release:        2.95.2 19991024 (release)
>Organization:
>Environment:
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
>Description:
Trying to use g77 with an app (ABAQUS, a finite element processor)that seems to compile and link a FORTRAN subroutine.  Using the following parameters:

compile="/usr/freeware/bin/g77 -I/usr/freeware/include -mabi=64 -ffixed-line-length-132 -mips4 -c"
link="/usr/freeware/bin/g77 -mabi=64 -L/usr/freeware/lib64 -rpath /usr/freeware/lib64 -Wl,-u,MAIN__ -Wl,-woff,84 -Wl,-woff,85 -mp -mips4 -o "

yields the error:

Compiling... 0el.f
Linking... IMPLICIT
ld64: FATAL   12 : Expecting 64-bit objects: /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/libg2c.a is 32-bit.
collect2: ld returned 4 exit status
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]