* invoke.texi (C++ Dialect Options): Document -fhonor-std.
[official-gcc.git] / gcc / README.RS6000
blobfde55b0178206bb1e58b6f83b1949e867266cba7
1                             AIX 4.3 assembler
3 The AIX 4.3.0.0 assembler generates incorrect object files if the ".bs"
4 pseudo-op references symbols in certain sections.  If GCC is invoked with
5 the -g debugging option (including during bootstrapping), incorrect object
6 files will be produced and the AIX linker will fail with a severe error.
7 A fix for APAR IX74254 (64BIT DISASSEMBLED OUPUT FROM COMPILER FAILS TO
8 ASSEMBLE/BIND) is available from IBM Customer Support and from its
9 service.boulder.ibm.com website as PTF U453956.
12                               AIX 4.1 binder
14 Some versions of the AIX binder (linker) can fail with a relocation
15 overflow severe error when the -bbigtoc option is used to link
16 GCC-produced object files into an executable that overflows the TOC.
17 Linking f771, the GNU Fortran backend, will fail in this manner.  A fix
18 for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND -BBIGTOC) is
19 available from IBM Customer Support and from its website as PTF U455193.
21 Due to changes in the way that GCC invokes the binder (linker) for AIX 4.1,
22 the link step now may produce warnings of duplicate symbols which were not
23 reported before.  The assembly files generated by GCC for AIX always have
24 included multiple symbol definitions for certain global variable and
25 function declarations in the original program.  The warnings should not
26 prevent the linker from producing a correct library or runnable executable.
29                              AIX NLS problems
31 AIX on the RS/6000 provides support (NLS) for environments outside of
32 the United States.  Compilers and assemblers use NLS to support
33 locale-specific representations of various objects including
34 floating-point numbers ("." vs "," for separating decimal fractions).
35 There have been problems reported where the library linked with GCC does
36 not produce the same floating-point formats that the assembler accepts.
37 If you have this problem, set the LANG environment variable to "C" or
38 "En_US".
40                                      
41                          AIX 3.2.5 XLC-1.3 problems
43 XLC version 1.3.0.0 distributed with AIX 3.2.5 will miscompile jump.c when
44 building the stage1 compiler during the bootstrap process.  This will cause
45 GCC to crash and the bootstrap to fail later while compiling libgcc2.c.  XLC
46 version 1.3.0.1 or later fixes this problem.  XLC-1.3.0.19 also cannot
47 bootstrap GCC so please avoid that release as well.  You can obtain
48 XLC-1.3.0.24 by requesting PTF 432238 from IBM, or just ask for the latest
49 release of XLC-1.3.
51 There also have been reports of problems bootstrapping GCC with some older
52 releases of xlc-1.2.1, including xlc-1.2.1.8.  Newer releases of xlc-1.2.1
53 do not exhibit this problem: xlc-1.2.1.28 is known to bootstrap properly.
56                        AIX 3.2 common-mode support
58 AIX common-mode providing transparent support of both the POWER and PowerPC
59 architectures is usable in AIX 3.2.3 and above but an export file and
60 support for hidden export via libc.a will not exist until AIX 4.1.  libgcc.a
61 also must be compiled in common-mode.  Note that executables generated for
62 the POWER (RIOS1 and RSC) architecture will run directly on systems using
63 the MPC601 chip.  Common-mode only improves the performance of a single
64 executable run on both POWER and PowerPC architecture platforms by not using
65 POWER- or PowerPC-specific instructions and eliminating the need to trap to
66 emulation (for POWER instructions run on PowerPC).
68 To link a common-mode application prior to AIX 4.1 and run it on a system at
69 AIX level 3.2.3 or above, use the text between the "<>" as an export file
70 (e.g. milli.exp)
72 <><><><><><><><><><><>
74 __mulh          0x3100
75 __mull          0x3180
76 __divss         0x3200
77 __divus         0x3280
78 __quoss         0x3300
79 __quous         0x3380
80 <><><><><><><><><><><>
82 and then link with -Wl,-bI:milli.exp.
85                      AIX 3.1 and 3.2 assembler problems
87 Specifying the -g flag to GCC on the RS/6000 requires upgrading the
88 standard AIX assembler distributed with AIX 3.1 and versions of AIX
89 3.2 earlier than 3.2.4 with a replacement that is available from IBM.
90 Note that Makefile.in specifies the -g when compiling libgcc2.c.
92 You can test for the presence of a fixed assembler by entering the following:
93                 % as -u < /dev/null
94 If the command exits normally, the assembler fix already is installed.
95 If the assembler complains that "-u" is an unknown flag, you need to order
96 the fix.
98 If you are running AIX 3.1 (lslpp -h bos.obj output reports
99 03.01.0005.XXXX where the 0005 can be any higher number and the XXXX
100 can be any value), call IBM Support at 800-237-5511 and ask for
101 shipment of AIX/6000 fix PTF U403044 for APAR IX22829 (.extern foo
102 conflicts with defining foo).
104 If you are running AIX 3.2 but not 3.2.4 or later (lslpp -h bos.obj
105 output reports 03.02.0000.0000), a newer update to the assembler fix
106 is available.  Ask for shipment of AIX/6000 fix PTF U416277 for
107 IX32992 (.global prevents detection of duplicate symbol).
109 If you are running AIX 3.2.4 or later, you already have the new
110 assembler.
112 Any customer can order and get the replacement assembler, and install it on
113 one or more machines.  It is available on diskette from IBM Customer Support
114 and from its website.
116 If you contact IBM Customer Support, they may also ask you for your customer
117 number.  If you do not know it, you will still be able to get the fix, but
118 you will have to be persistent.  IBM has corresponding support organizations
119 outside of North America.  Call your IBM branch office and ask them to put
120 you in touch with the department that handles fixes for AIX/6000.  If that
121 doesn't work, ask for the department that handles software defect support
122 for AIX/6000 and ask for the APAR fix.
124 If you use the GNU assembler instead of the system supplied assembler, you need
125 an assembler modified after October 16th, 1995 in order to build the GNU C
126 compiler.  This is because the GNU C compiler wants to build a variant of its
127 library, libgcc.a with the -mcpu=common switch to support building programs
128 that can run on either the Power or PowerPC machines.