Critical problems with Gcc-3.0
Philippe Nobili
pnobili@cgg.com
Thu Jun 21 03:05:00 GMT 2001
Hello,
I installed gcc-3.0 on Linux (red-hat 6.2 : i686-pc-linux-gnu),
and AIX (powerpc-ibm-aix4.3.3.0).
These are the installation steps I followed:
'make bootstrap --prefix=my-install-root'
'make install'
Everything works as expected, but the compiler is not properly
installed:
= On Linux (uname -a --> Linux linux5 2.2.17 #1 SMP Wed Nov 29
11:15:05 CET 2000 i686 unknown)
g++ -c -frepo tryg++.cc --> OK
g++ tryg++.o --> See error messages in attached
tryg++_linux_errors
File 'stddef.h' is not present in installation; the lines used
to install it have been commented out in the generated Makefile.
(i686-pc-linux-gnu/libstdc++-v3/src/Makefile)
g++ -v --> Reading specs from
/DEVTOOLS/free/Linux2.2/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ../gcc-3.0/configure
--prefix=/DEVTOOLS/free/Linux2.2
Thread model: single
gcc version 3.0
= On AIX (uname -a --> AIX sp2pd-s 3 4 000532884C00)
Even 'g++ -v' is not able to run :
g++ -v --> exec(): 0509-036 Cannot load program gcc because of the
following errors:
0509-130 Symbol resolution failed for gcc because:
0509-136 Symbol stpcpy (number 69) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol strsignal (number 70) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
I attached the output of 'dump -Tv' command on g++ (gcc_aix_dumpTv)
I got the release yesterday from ftp.mirror.ac.uk, something
wrong with it ?
I hope for the best ...
Thank you,
Philippe.
--
___________________________________________________________
Philippe Nobili
CGG
Office M1 335
1, rue Leon Migaux, 91341 Massy Cedex
Tel : 01 64 47 40 90
Fax : 01 64 47 45 14 E-mail : pnobili@cgg.com
___________________________________________________________
/DEVTOOLS/free/AIX4.3/bin/g++:
***Loader Section***
***Loader Symbol Table Information***
[Index] Value Scn IMEX Sclass Type IMPid Name
[0] 0x20002278 .data RW SECdef [noIMid] __rtinit
[1] 0x00000000 undef IMP RW EXTref libc.a(shr.o) environ
[2] 0x00000000 undef IMP RW EXTref libc.a(shr.o) errno
[3] 0x00000000 undef IMP DS EXTref libc.a(shr.o) access
[4] 0x00000000 undef IMP DS EXTref libc.a(shr.o) close
[5] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getpid
[6] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getrusage
[7] 0x00000000 undef IMP DS EXTref libc.a(shr.o) kill
[8] 0x00000000 undef IMP DS EXTref libc.a(shr.o) mmap
[9] 0x00000000 undef IMP DS EXTref libc.a(shr.o) munmap
[10] 0x00000000 undef IMP DS EXTref libc.a(shr.o) open
[11] 0x00000000 undef IMP DS EXTref libc.a(shr.o) pipe
[12] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sbrk
[13] 0x00000000 undef IMP DS EXTref libc.a(shr.o) unlink
[14] 0x00000000 undef IMP UA EXTref libc.a(shr.o) _system_configuration
[15] 0x00003200 undef IMP XO EXTref libc.a(shr.o) __divss
[16] 0x00003280 undef IMP XO EXTref libc.a(shr.o) __divus
[17] 0x00003300 undef IMP XO EXTref libc.a(shr.o) __quoss
[18] 0x00003380 undef IMP XO EXTref libc.a(shr.o) __quous
[19] 0x00000000 undef IMP RW EXTref libc.a(shr.o) _iob
[20] 0x00000000 undef IMP DS EXTref libc.a(shr.o) exit
[21] 0x00000000 undef IMP DS EXTref libc.a(shr.o) free
[22] 0x00000000 undef IMP DS EXTref libc.a(shr.o) malloc
[23] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strlen
[24] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fopen
[25] 0x00000000 undef IMP DS EXTref libc.a(shr.o) realloc
[26] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fprintf
[27] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getenv
[28] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strchr
[29] 0x00000000 undef IMP DS EXTref libc.a(shr.o) abort
[30] 0x00000000 undef IMP DS EXTref libc.a(shr.o) printf
[31] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fclose
[32] 0x00000000 undef IMP DS EXTref libc.a(shr.o) memset
[33] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fflush
[34] 0x00000000 undef IMP DS EXTref libc.a(shr.o) vfprintf
[35] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sprintf
[36] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fwrite
[37] 0x00000000 undef IMP DS EXTref libc.a(shr.o) read
[38] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strncmp
[39] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fputc
[40] 0x00000000 undef IMP DS EXTref libc.a(shr.o) tolower
[41] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fgets
[42] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isdigit
[43] 0x00000000 undef IMP DS EXTref libc.a(shr.o) signal
[44] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isspace
[45] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sleep
[46] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strdup
[47] 0x00000000 undef IMP DS EXTref libc.a(shr.o) calloc
[48] 0x00000000 undef IMP DS EXTref libc.a(shr.o) stat
[49] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fstat
[50] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fputs
[51] 0x00000000 undef IMP DS EXTref libc.a(shr.o) gettimeofday
[52] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isalpha
[53] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isalnum
[54] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setlocale
[55] 0x00000000 undef IMP DS EXTref libc.a(shr.o) qsort
[56] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getcwd
[57] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fork
[58] 0x00000000 undef IMP DS EXTref libc.a(shr.o) dup
[59] 0x00000000 undef IMP DS EXTref libc.a(shr.o) mktemp
[60] 0x00000000 undef IMP DS EXTref libc.a(shr.o) execv
[61] 0x00000000 undef IMP DS EXTref libc.a(shr.o) wait
[62] 0x00000000 undef IMP DS EXTref libc.a(shr.o) execvp
[63] 0x00000000 undef IMP DS EXTref libc.a(shr.o) bsearch
[64] 0x00000000 undef IMP DS EXTref libc.a(shr.o) putenv
[65] 0x00000000 undef IMP DS EXTref libc.a(shr.o) puts
[66] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strerror
[67] 0x00000000 undef IMP DS EXTref libc.a(shr.o) putc_unlocked
[68] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strcasecmp
[69] 0x00000000 undef IMP DS EXTref libc.a(shr.o) stpcpy
[70] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strsignal
[71] 0x00000000 undef IMP DS EXTref libc.a(shr.o) __mod_init
[72] 0x00000000 undef IMP RW EXTref libc.a(shr.o) __crt0v
[73] 0x20002078 .data EXP RW Ldef [noIMid] __dbargs
[74] 0x200022d8 .data ENTpt DS SECdef [noIMid] __start
[75] 0x20002370 .data EXP DS SECdef [noIMid] __dbsubc
[76] 0x20002378 .data EXP DS SECdef [noIMid] __dbsubg
[77] 0x20002380 .data EXP DS SECdef [noIMid] __dbsubn
More information about the Gcc-bugs
mailing list