Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8115 - Openjade unable to be compiled due to gcc segmentation
Summary: Openjade unable to be compiled due to gcc segmentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Matthew Turk (RETIRED)
URL: http://www.gbg.bonet.se/sinclair/open...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-19 11:09 UTC by David M. Sinclair
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Sinclair 2002-09-19 11:09:58 UTC
gcc bails during compile of openjade because of a segmentation fault. Please 
visit the above specified url for a screenshot.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-09-19 11:19:42 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.
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2002-09-19 14:04:11 UTC
... but i used the stage3 tarball
for
> athlon-xp... hope this helps, else i'll try to get a hold of the build
> log...
>
Comment 3 Vaclav Kulakovsky 2002-09-20 00:08:33 UTC
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
Comment 4 Matthew Turk (RETIRED) gentoo-dev 2002-10-04 09:09:04 UTC
Hi there!  Try the new openjade ebuild I submitted last night, -r5.  You'll 
have to unmask it. 
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2002-10-22 17:07:49 UTC
Did this work, or not? 
Comment 6 Andrew Sayman 2002-10-26 00:08:20 UTC
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. 
Comment 7 Matthew Turk (RETIRED) gentoo-dev 2002-10-26 13:33:34 UTC
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...  ;-) 
Comment 8 Matthew Turk (RETIRED) gentoo-dev 2002-10-28 00:22:36 UTC
Ok, will mark as closed in two days if no response...