comparison PROBLEMS @ 1222:0350fea81e65

[xemacs-hg @ 2003-01-18 04:48:18 by james] Describe Steve Youngs' probme with the PostgreSQL module and --error-checking=all
author james
date Sat, 18 Jan 2003 04:48:18 +0000
parents d50ab2546522
children 6981ff72175a
comparison
equal deleted inserted replaced
1221:586fa9ed5ff9 1222:0350fea81e65
1244 Emacs.geometry: 81x56--9--1 1244 Emacs.geometry: 81x56--9--1
1245 1245
1246 Use the following instead 1246 Use the following instead
1247 1247
1248 Emacs*EmacsFrame.geometry: 81x56--9--1 1248 Emacs*EmacsFrame.geometry: 81x56--9--1
1249
1250 *** When I try to use the PostgreSQL functions, I get a message about
1251 undefined symbols.
1252
1253 The only known case in which this happens is if you are using gcc, you
1254 configured with --error-checking=all and --with-modules, and you
1255 compiled with no optimization. If you encounter this problem in any
1256 other situation, please inform xemacs-beta@xemacs.org.
1257
1258 This problem stems from a gcc bug. With no optimization, functions
1259 declared `extern inline' sometimes are not completely compiled away. An
1260 undefined symbol with the function's name is put into the resulting
1261 object file. In this case, when the postgresql module is loaded, the
1262 linker is unable to resolve that symbol, so the module load fails. The
1263 workaround is to recompile the module with optimization turned on. Any
1264 optimization level, including -Os, appears to work.
1249 1265
1250 1266
1251 ** MacOS/X, Darwin 1267 ** MacOS/X, Darwin
1252 *** XEmacs crashes on MacOS within font-lock, or when dealing 1268 *** XEmacs crashes on MacOS within font-lock, or when dealing
1253 with large compilation buffers, or in other regex applications. 1269 with large compilation buffers, or in other regex applications.