[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bgl-discuss] [Fwd: Libxml2 compilation error. (GCC error)]



-------- Forwarded Message --------
From: Alan Aspuru-Guzik <alan@xxxxxxxxxx>
To: bgl-discuss <bgl-discuss@xxxxxxxxxxxxxxx>
Subject: Libxml2 compilation error. (GCC error)
Date: Thu, 28 Apr 2005 14:11:03 -0700

Dear BGL-Discuss mailing list.



Here is a GCC-specific compilation error when attempting to compile libxml2:

(I was able to compile the library with:
CC='xlc' ./configure --enable-static --disable-shared



But when attempting to compile with GCC instead:
libxml2-2.6.19:

 
wget ftp://xmlsoft.org/libxml2-2.6.19.tar.gz
tar xzvf libxml2
cd libxml2-2.6.19
setenv CC 'mpicc' ; ./configure
make

I get the following error:

 mpicc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2
-pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized
-Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Winline -Wredundant-decls -MT tree.lo -MD -MP
-MF .deps/tree.Tpo -c tree.c -o tree.o
tree.c: In function `xmlGetNodePath':
tree.c:4366: unrecognizable insn:
(insn 1476 1405 1477 (parallel[
            (set (reg/v:SI 27 r27 [126])
                (plus:SI (leu:SI (reg:SI 9 r9 [270])
                        (const_int 1 [0x1]))
                    (reg/v:SI 27 r27 [126])))
            (clobber (reg:SI 0 r0))
        ] ) -1 (nil)
    (nil))
tree.c:4366: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


Greetings,

Alan



- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.