Summary: | Openjade unable to be compiled due to gcc segmentation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David M. Sinclair <sinclair> |
Component: | [OLD] GCC Porting | Assignee: | Matthew Turk (RETIRED) <satai> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | Normal | ||
Version: | 1.4_rc1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.gbg.bonet.se/sinclair/openjade_bails.jpg | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David M. Sinclair
2002-09-19 11:09:58 UTC
Could you provide me with some more information? You USE flags, CFLAGS, CXXFLAGS, and complete build log (in text) of emerge openjade would help. ... but i used the stage3 tarball
for
> athlon-xp... hope this helps, else i'll try to get a hold of the build
> log...
>
This is similar but for PIII. Every settings is default. g++ -march=pentium3 - mcpu=pentium3 -O3 -pipe -fno-implicit-templates -I. -I./../include -I./../grove -I./../spgrove - DPACKAGE=\"openjade\" -DVERSION=\"1.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 - DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 - DSIZE_T_IS_UINT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 - DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" - DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 - DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.1/builtins.dsl\" -c InheritedC.cxx -fPIC -DPIC g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. {standard input}: Assembler messages: {standard input}:9920: Warning: end of file not at end of a line; newline inserted make[2]: *** [InheritedC.lo] Error 1 rm InterpreterMessages.cxx make[2]: Leaving directory `/var/tmp/portage/openjade-1.3.1- r4/work/openjade-1.3.1/style' make[1]: *** [style] Error 2 make[1]: Leaving directory `/var/tmp/portage/openjade-1.3.1-r4/work/openjade-1.3.1' make: *** [all] Error 2 Hi there! Try the new openjade ebuild I submitted last night, -r5. You'll have to unmask it. Did this work, or not? I'd been having the same problems with openjade-1.3.1-r5. I "fixed" it by setting all optimizations down to -O2. CFLAGS="-O2" CXXFLAGS=${CFLAGS} It actually segfaulted somewhere else and then I finished it off by going to the working directory and using ebuild. openjade-1.3.1-r5 *should* have all optimizations set to null. Did it attempt to compile with optimizations set? That was the whole point of -r5... ;-) Ok, will mark as closed in two days if no response... |