This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fortran/3148: Error: libg2c.a is 32-bit when a 64-bit object is expected
- To: gcc-gnats at gcc dot gnu dot org
- Subject: fortran/3148: Error: libg2c.a is 32-bit when a 64-bit object is expected
- From: jimshep at mindspring dot com
- Date: 12 Jun 2001 22:16:55 -0000
- Reply-To: jimshep at mindspring dot com
>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: