Subject: What is databases/db4?
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 12/13/2003 13:11:57
Why is databases/db4 now required for devel/apr, and why is it broken?
Certainly I am not the only person in the last few weeks who has tried to
compile Apache?

cc -c -I. -I../dist/.. -I/usr/pkgsrc/databases/db4/work/.buildlink/include
-O2 -I/usr/pkgsrc/databases/db4/work/.buildlink/include
/usr/pkgsrc/databases/db4/work/db-4.2.52/build_unix/../dist/../mutex/mut_tas.c
-fPIC -DPIC -o .libs/mut_tas.o
/usr/pkgsrc/databases/db4/work/db-4.2.52/build_unix/../dist/../mutex/mut_tas.c:
In function `__db_tas_mutex_lock':
/usr/pkgsrc/databases/db4/work/db-4.2.52/build_unix/../dist/../mutex/mut_tas.c:174:
internal error--unrecognizable insn:
(insn/i 68 212 215 (parallel[
            (set (reg/v:SI 7 r7)
                (asm_operands/v ("0:
               lwarx   %0,0,%1
               cmpwi   %0,0
               bne-    1f
               stwcx.  %1,0,%1
               isync
               beq+    2f
               b       0b
        1:
               li      %1, 0
        2:
        ") ("=&r") 0[
                        (regcc: Internal compiler error: program cc1 got
fatal signal 11
*** Error code 1

Stop.


John Klos
Sixgirls Computing Labs