comparison PROBLEMS @ 369:1d62742628b6 r21-1-14

Import from CVS: tag r21-1-14
author cvs
date Mon, 13 Aug 2007 11:01:51 +0200
parents a4f53d9b3154
children cc15677e0335
comparison
equal deleted inserted replaced
368:397a7324211a 369:1d62742628b6
166 (3.1.4.4), there are problems with -O3. I haven't investigated 166 (3.1.4.4), there are problems with -O3. I haven't investigated
167 further. 167 further.
168 168
169 169
170 ** SunOS/Solaris 170 ** SunOS/Solaris
171 *** Dumping error when using GNU binutils / GNU ld on a Sun.
172
173 Errors similar to the following:
174
175 Dumping under the name xemacs unexec():
176 dldump(/space/rpluim/xemacs-obj/src/xemacs): ld.so.1: ./temacs:
177 fatal: /space/rpluim/xemacs-obj/src/xemacs: unknown dynamic entry:
178 1879048176
179
180 are caused by using GNU ld. There are several workarounds available:
181
182 In XEmacs 21.2 or later, configure using the new portable dumper
183 (--pdump).
184
185 Alternatively, you can link using the Sun version of ld, which is
186 normally held in /usr/ccs/bin. This can be done by one of:
187
188 - building gcc with these configure flags:
189 configure --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
190
191 - adding -B/usr/ccs/bin/ to CFLAGS used to configure XEmacs
192 (Note: The trailing '/' there is significant.)
193
194 - uninstalling GNU ld.
195
196 The Solaris2 FAQ claims:
197
198 When you install gcc, don't make the mistake of installing
199 GNU binutils or GNU libc, they are not as capable as their
200 counterparts you get with Solaris 2.x.
201
171 *** Link failure when using acc on a Sun. 202 *** Link failure when using acc on a Sun.
172 203
173 To use acc, you need additional options just before the libraries, such as 204 To use acc, you need additional options just before the libraries, such as
174 205
175 /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1 206 /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1
277 This is a Linux problem where you've compiled the XEmacs binary on a libc 308 This is a Linux problem where you've compiled the XEmacs binary on a libc
278 5.4 with version higher than 5.4.19 and attempted to run the binary against 309 5.4 with version higher than 5.4.19 and attempted to run the binary against
279 an earlier version. The solution is to upgrade your old library. 310 an earlier version. The solution is to upgrade your old library.
280 311
281 ** IRIX 312 ** IRIX
313
314 *** On Irix 6.5, the MIPSpro compiler gets an internal compiler error
315
316 The MIPSpro Compiler (at least version 7.2.1) can't seem to handle the
317 union type properly, and fails to compile src/glyphs.c. To avoid this
318 problem, always build ---use-union-type=3Dno (but that's the default, so
319 you should only see this problem if you're an XEmacs maintainer).
320
282 *** Linking with -rpath on IRIX. 321 *** Linking with -rpath on IRIX.
283 322
284 Darrell Kindred <dkindred@cmu.edu> writes: 323 Darrell Kindred <dkindred@cmu.edu> writes:
285 There are a couple of problems [with use of -rpath with Irix ld], though: 324 There are a couple of problems [with use of -rpath with Irix ld], though:
286 325