Building gcc 2.8.1 on AIX 5.3

Chuck Noren Chuck.Noren@gmail.com
Mon Jan 22 20:56:00 GMT 2007


I am porting a C++ application from AIX 4.3 (with gcc 2.8.1) to AIX 5.3 (with
32-bit kernal). Since the C++ code is ancient, my first step is to build the
gcc 2.8.1 compiler on the AIX 5.3 system. I have the gcc 2.8.1 source and
have done the following:

./configure
make LANGUAGES=c
make stage1
make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2 -D_LONG_LONG"

(I used the flag _LONG_LONG in order to compile the uint64_t typedefs).

I list the errors I am getting below. What do I need to do?

Thanks,
Chuck


I get these errors:

Assembler:
/tmp/ccUNy-ya.s: line 453: Instruction maskir is not implemented in the
current assembly mode COM.
/tmp/ccUNy-ya.s: line 507: Instruction nabs is not implemented in the
current assembly mode COM.
/tmp/ccUNy-ya.s: line 594: Instruction nabs is not implemented in the
current assembly mode COM.
/tmp/ccUNy-ya.s: line 602: Instruction maskir is not implemented in the
current assembly mode COM.
/tmp/ccUNy-ya.s: line 611: Instruction mtmq is not implemented in the
current assembly mode COM.
/tmp/ccUNy-ya.s: line 612: Instruction div is not implemented in the current
assembly mode COM.
...

along with these errors:
Assembler:
/tmp/ccgLyP7a.s: line 609: Instruction nabs is not implemented in the
current assembly mode COM.
/tmp/ccgLyP7a.s: line 638: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 638: illegal expression
/tmp/ccgLyP7a.s: line 889: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 889: illegal expression
/tmp/ccgLyP7a.s: line 1144: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 1144: illegal expression
/tmp/ccgLyP7a.s: line 1390: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 1390: illegal expression
/tmp/ccgLyP7a.s: line 1636: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 1636: illegal expression
/tmp/ccgLyP7a.s: line 1882: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 1882: illegal expression
/tmp/ccgLyP7a.s: line 2219: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 2219: illegal expression
/tmp/ccgLyP7a.s: line 2471: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 2471: illegal expression
/tmp/ccgLyP7a.s: line 2723: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 2723: illegal expression
/tmp/ccgLyP7a.s: line 2975: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 2975: illegal expression
/tmp/ccgLyP7a.s: line 3227: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 3227: illegal expression
/tmp/ccgLyP7a.s: line 3479: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 3479: illegal expression
/tmp/ccgLyP7a.s: line 3731: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 3731: illegal expression
/tmp/ccgLyP7a.s: line 3983: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 3983: illegal expression
/tmp/ccgLyP7a.s: line 4235: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 4235: illegal expression
/tmp/ccgLyP7a.s: line 4487: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 4487: illegal expression
/tmp/ccgLyP7a.s: line 4739: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 4739: illegal expression
/tmp/ccgLyP7a.s: line 4991: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 4991: illegal expression
/tmp/ccgLyP7a.s: line 5243: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 5243: illegal expression
/tmp/ccgLyP7a.s: line 5495: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 5495: illegal expression
/tmp/ccgLyP7a.s: line 5747: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 5747: illegal expression
/tmp/ccgLyP7a.s: line 5999: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 5999: illegal expression
/tmp/ccgLyP7a.s: line 6326: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 6326: illegal expression
/tmp/ccgLyP7a.s: line 6562: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 6562: illegal expression
/tmp/ccgLyP7a.s: line 6795: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 6795: illegal expression
/tmp/ccgLyP7a.s: line 7028: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 7028: illegal expression
/tmp/ccgLyP7a.s: line 7261: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 7261: illegal expression
/tmp/ccgLyP7a.s: line 7494: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 7494: illegal expression
/tmp/ccgLyP7a.s: line 7736: undefined symbol "_vt.9type_info"
/tmp/ccgLyP7a.s: line 7736: illegal expression



-- 
View this message in context: http://www.nabble.com/Building-gcc-2.8.1-on-AIX-5.3-tf3060406.html#a8509749
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list