Bug 42855

Summary: gcc in CURRENT error: Internal compiler error in cp_expr_size, at cp/cp-lang.c:130
Product: Base System Reporter: gmelis <gmelis>
Component: gnuAssignee: ak03
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description gmelis 2002-09-16 23:00:18 UTC
While compiling lyx (happens in kdelibs3 roo, haven't tested others) the following error appears:
======================================================================
cc1plus: warning: changing search order for system directory "/usr/X11R6/include"
cc1plus: warning:   as it has already been specified as a non-system directory
insetref.C: In function `void __static_initialization_and_destruction_0(int, 
   int)':
insetref.C:109: Internal compiler error in cp_expr_size, at cp/cp-lang.c:130
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[3]: *** [insetref.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/print/lyx/work/lyx-1.2.0/src/insets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/print/lyx/work/lyx-1.2.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/print/lyx/work/lyx-1.2.0/src'
gmake: *** [all-recursive] Error 1
*** Error code 2
======================================================================

Fix: 

According to GNU, you must update the cvs code for gcc to a version later than September 1. Better yet, check on c++/7859 bug report on
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7859
How-To-Repeat: Run "make" in /usr/ports/print/lyx or /usr/ports/x11/kde3
Comment 1 Alexander Kabaev freebsd_committer freebsd_triage 2002-09-20 18:38:25 UTC
State Changed
From-To: open->closed

I did an import of a newer GCC on Sep. 16. 


Comment 2 Alexander Kabaev freebsd_committer freebsd_triage 2002-09-20 18:38:25 UTC
Responsible Changed
From-To: freebsd-bugs->ak03

I did an import of a newer GCC on Sep. 16.