bin/87843: FreeBSD specific gcc compiler error

Richard Hirner richard at hirner.at
Sat Oct 22 07:00:31 PDT 2005


>Number:         87843
>Category:       bin
>Synopsis:       FreeBSD specific gcc compiler error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 22 14:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Richard Hirner
>Release:        FreeBSD 5.3-RELEASE-p18 i386
>Organization:
>Environment:
System: FreeBSD lenin.adaxas.net 5.3-RELEASE-p18 FreeBSD 5.3-RELEASE-p18 #7: Mon Jul 11 15:26:16 CEST 2005 toor at lenin.adaxas.net:/usr/obj/usr/src/sys/DEVVV01 i386


	
>Description:
Please note that I have reported this issue to gcc Bugzilla and they
said it has to be a FreeBSD specific problem. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24484

PROBLEM:
Tried to compile libapreq2-2.06 from the FreeBSD ports collection. Failed with
this message:
---------------------------
cc -DHAVE_CONFIG_H -I. -I. -I../include
-I/usr/local/include/apache2/modules/perl -I/usr/local/include/apache2
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -march=athlon -c
util.c -MT util.lo -MD -MP -MF .deps/util.TPlo  -fPIC -DPIC -o .libs/util.o
util.c: In function `apreq_atoi64f':
util.c:52: error: unrecognizable insn:
(insn 66 172 67 8 util.c:44 (set (reg/f:SI 75)
        (match_insn 677090144 ("C"))) -1 (nil)
    (nil))
util.c:52: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
---------------------------

SYSTEM:
FreeBSD 5.3-RELEASE-p18 (Mon Jul 11 15:26:16 CEST 2005)
/usr/obj/usr/src/sys/DEVVV01 i386

GCC VERSION:
#gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

COMMAND LINE:
cc -DHAVE_CONFIG_H -I. -I. -I../include
-I/usr/local/include/apache2/modules/perl -I/usr/local/include/apache2
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -march=athlon -c
util.c -MT util.lo -MD -MP -MF .deps/util.TPlo  -fPIC -DPIC -o .libs/util.o
Bug appears without -march and -O, too
	
>How-To-Repeat:
portinstall libapreq2-2.06 on systems with my configuration (see above)
	
>Fix:
?
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list