This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Internal error when compiling OpenJade on Alpha/Digital Unix


At 09:47 03.03.00, Stephane Bortzmeyer wrote:

>Hello,
>
>Compiling OpenJade (a free DSSSL processor) 1.3
>http://openjade.sourceforge.net/download.html
>
>with:
>gcc --version
>2.95.2
>
>on:
>uname -a
>OSF1 wallis.pasteur.fr V4.0 1229 alpha
>sizer -v
>Digital UNIX V4.0F  (Rev. 1229); Fri Nov 12 12:14:47 MET 1999
>
>yields:
>c++ -fno-implicit-templates -O2 -ansi   -I. -I./../include -I./../generic
>-DSP_HAVE_BOOL  -DSP_MULTI_BYTE -DJADE_HTML   -DSP_HAVE_SOCKET
>-DSGML_CATALOG_FILES_DEFAULT=\"/local/share/sgml/catalog\"   -c
>parseInstance.cxx
>parseInstance.cxx: In method `void Parser::acceptPcdata(const Location &)':
>parseInstance.cxx:618: Internal compiler error in `scan_region', at
>except.c:2566
>Please submit a full bug report.
>See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
>make[2]: *** [parseInstance.o] Error 1
>make[2]: Leaving directory `/local/src/SGML/openjade-1.3/lib'
>make[1]: *** [lib] Error 2
>make[1]: Leaving directory `/local/src/SGML/openjade-1.3'
>make: *** [all] Error 2
>
>Compiling with -O0 allows to compile this specific file, although it crashes
>later:
>
>c++ -fno-implicit-templates -O0 -ansi   -I. -I./../include  -DSP_HAVE_BOOL
>-DSP_MULTI_BYTE -DJADE_HTML -DSP_HAVE_SOCKET 
>-DSGML_SEARCH_PATH_DEFAULT=\"/loca
>l/share/sgml\" -DSGML_CATALOG_FILES_DEFAULT=\"/local/share/sgml/catalog\"
>-o onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o
>nsgmls_inst.o  ../lib/libosp.a -lm
>collect2: ld terminated with signal 10 [Bus error], core dumped
>
>Sorry, I wasn't able to reproduce the bug on a smaller program.

I dunno if this helps with your bug, but with the jade-1.2.1 version in 
rawhide, you usually have to follow these steps to compile it successfully 
with gcc-2.95.x:

cd jade/config
autoconf
mv -f configure ..
cd ..

And you need a patched autoconf-2.13 (or current CVS-autoconf) installed 
for that:

<http://entropy.crashing.org/~fsirl/>

The symptoms of the failing autoconf tests are misdetection of the 'inline' 
and 'const' keyword support.

Franz.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]