c/4363: libxml miscompiled with -O2, without -O2 works
Andreas Amann
amann@nlds.physik.tu-berlin.de
Wed Sep 19 13:36:00 GMT 2001
>Number: 4363
>Category: c
>Synopsis: libxml miscompiled with -O2, without -O2 works
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed Sep 19 13:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Andreas Amann
>Release: 3.0.1
>Organization:
TU Berlin
>Environment:
System: Linux bill 2.4.9 #1 Tue Aug 28 18:18:19 CEST 2001 i686 unknown
Architecture: i686
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../configure --host=i586-pc-linux-gnu --prefix=/usr/linux-local/gcc-3.0.1
>Description:
libxml2-2.4.5 is not compiled correctly with -O2. Symptom: compile of
kdebase fails with
/usr/linux-local/kde-2.2.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:6: error: failed to load external entity "/kdex.dtd"]
...
where meinproc uses libxml internally
I know that gcc-3.0.x is not recommended for kde compilation. But this is
obviously a bug in gcc, since it goes away when compiled without -O2
>How-To-Repeat:
>Fix:
recompile without -O2 !
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list