readme.rs6000

来自「GCC编译器源代码」· RS6000 代码 · 共 112 行

RS6000
112
字号
		     AIX 3.1 and 3.2 assembler problemsSpecifying the -g flag to GCC on the RS/6000 requires upgrading thestandard AIX assembler distributed with AIX 3.1 and versions of AIX3.2 earlier than 3.2.4 with a replacement that is available from IBM.Note that Makefile.in specifies the -g when compiling libgcc2.c.You can test for the presence of a fixed assembler by entering the following:		% as -u < /dev/nullIf the command exits normally, the assembler fix already is installed.If the assembler complains that "-u" is an unknown flag, you need to orderthe fix.If you are running AIX 3.1 (lslpp -h bos.obj output reports03.01.0005.XXXX where the 0005 can be any higher number and the XXXXcan be any value), call IBM Support at 800-237-5511 and ask forshipment of AIX/6000 fix PTF U403044 for APAR IX22829 (.extern fooconflicts with defining foo).If you are running AIX 3.2 but not 3.2.4 or later (lslpp -h bos.objoutput reports 03.02.0000.0000), a newer update to the assembler fixis available.  Ask for shipment of AIX/6000 fix PTF U416277 forIX32992 (.global prevents detection of duplicate symbol).If you are running AIX 3.2.4 or later, you already have the newassembler.Any customer can order and get the replacement assembler, and install it onone or more machines.  It is available on diskette from IBM Customer Supportand from the IBM Internet fix anonymous ftp server (FixDist) ataix.boulder.ibm.com (198.17.57.66).If you contact IBM Customer Support, they may also ask you for your customernumber.  If you do not know it, you will still be able to get the fix, butyou will have to be persistent.  IBM has corresponding support organizationsoutside of North America.  Call your IBM branch office and ask them to putyou in touch with the department that handles fixes for AIX/6000.  If thatdoesn't work, ask for the department that handles software defect supportfor AIX/6000 and ask for the APAR fix.If you use the GNU assembler instead of the system supplied assembler, you needan assembler modified after October 16th, 1995 in order to build the GNU Ccompiler.  This is because the GNU C compiler wants to build a variant of itslibrary, libgcc.a with the -mcpu=common switch to support building programsthat can run on either the Power or PowerPC machines.			      AIX NLS problemsAIX on the RS/6000 provides support (NLS) for environments outside ofthe United States.  Compilers and assemblers use NLS to supportlocale-specific representations of various objects includingfloating-point numbers ("." vs "," for separating decimal fractions).There have been problems reported where the library linked with GCC doesnot produce the same floating-point formats that the assembler accepts.If you have this problem, set the LANG environment variable to "C" or"En_US".			 AIX 3.2.5 XLC-1.3 problemsXLC version 1.3.0.0 distributed with AIX 3.2.5 will miscompile jump.c whenbuilding the stage1 compiler during the bootstrap process.  This will causeGCC to crash and the bootstrap to fail later while compiling libgcc2.c.  XLCversion 1.3.0.1 or later fixes this problem.  XLC-1.3.0.19 also cannotbootstrap GCC so please avoid that release as well.  You can obtainXLC-1.3.0.24 by requesting PTF 432238 from IBM, or just ask for the latestrelease of XLC-1.3.There also have been reports of problems bootstrapping GCC with some olderreleases of xlc-1.2.1, including xlc-1.2.1.8.  Newer releases of xlc-1.2.1do not exhibit this problem: xlc-1.2.1.28 is known to bootstrap properly.			AIX 3.2 common-mode supportAIX common-mode providing transparent support of both the POWER and PowerPCarchitectures is usable in AIX 3.2.3 and above but an export file andsupport for hidden export via libc.a will not exist until AIX 4.1.  libgcc.aalso must be compiled in common-mode.  Note that executables generated forthe POWER (RIOS1 and RSC) architecture will run directly on systems usingthe MPC601 chip.  Common-mode only improves the performance of a singleexecutable run on both POWER and PowerPC architecture platforms by not usingPOWER- or PowerPC-specific instructions and eliminating the need to trap toemulation (for POWER instructions run on PowerPC).To link a common-mode application prior to AIX 4.1 and run it on a system atAIX level 3.2.3 or above, use the text between the "<>" as an export file(e.g. milli.exp)<><><><><><><><><><><>#!__mulh          0x3100__mull          0x3180__divss         0x3200__divus         0x3280__quoss         0x3300__quous         0x3380<><><><><><><><><><><>and then link with -Wl,-bI:milli.exp.			       AIX 4.1 binderDue to changes in the way that GCC invokes the binder (linker) for AIX 4.1,the link step now may produce warnings of duplicate symbols which were notreported before.  The assembly files generated by GCC for AIX always haveincluded multiple symbol definitions for certain global variable andfunction declarations in the original program.  The warnings should notprevent the linker from producing a correct library or runnable executable.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?