This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10148] New: gdb fails immediately with "Architecture of file not recognised"


I am trying to debug a large C++/Fortran program that currently runs on a 
variety of different platforms, while porting to IBM AIX 5.3, running on a 
Power 520 Express 8203-E4A, powerpc, LPAR 1 10-D3DF2.

gcc/g++/gfortran downloaded from www.perzl.org:
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../gcc-4.2.4/configure --with-as=/usr/bin/as --with-
ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --
enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-
decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.2.4

additional options for all compilations and linking:
-mcpu=powerpc64 -maix64 -fno-strict-aliasing -pthread -O3 

C++ also compiled with:
-DAIX -DUNIX -D_REENTRANT -DNO_GCC_PRAGMA -D_FILE_OFFSET_BITS=64 -
D_LARGE_FILES -DPIC -D__64BIT__ 

Fortran also compiled with:
-ffixed-line-length-100  -DG77 -x f77-cpp-input

Exes linked using g++ (but actually using ld) with options:
-Wl,-brtl -Wl,-bdynamic

Sos linked using g++ (ld) with options:
-shared -fPIC -Wl,-G -Wl,-bexpfull -Wl,-bnoipath


gdb also downloaded from www.perzl.org:
GNU gdb 6.8
This GDB was configured as "powerpc-ibm-aix5.1.0.0".

As soon as I specify "file" I get:
"Architecture of file not recognized"

show arch:
The target architecture is set automatically (currently rs6000:6000)

run:
Starting program: nameof.exe
warning: Unable to stat , keeping its symbols

At this point even if I type Ctl-C gdb refuses to be interrupted and the only 
option is to kill it.

-- 
           Summary: gdb fails immediately with "Architecture of file not
                    recognised"
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: nick dot wagg at safetechnology dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: IBM AIX 5.3
  GCC host triplet: IBM AIX 5.3
GCC target triplet: IBM AIX 5.3


http://sourceware.org/bugzilla/show_bug.cgi?id=10148

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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