From mboxrd@z Thu Jan 1 00:00:00 1970 From: jimshep@mindspring.com To: gcc-gnats@gcc.gnu.org Subject: fortran/3148: Error: libg2c.a is 32-bit when a 64-bit object is expected Date: Tue, 12 Jun 2001 15:26:00 -0000 Message-id: <20010612221655.19486.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00513.html List-Id: >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: