[Bug 213223] databases/db6 fails to compile on ARM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 5 06:58:10 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213223

            Bug ID: 213223
           Summary: databases/db6 fails to compile on ARM
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mandree at FreeBSD.org
                CC: vivek at khera.org
            Blocks: 213167

databases/db6 fails to compile on ARM with

===>  Building for db6-6.2.23_1
gmake[1]: Entering directory
'/var/tmp/usr/ports/databases/db6/work/db-6.2.23/build_unix'
./libtool --mode=compile cc -c -I. -I./../src  -D_THREAD_SAFE -O3 -pipe 
-fno-strict-aliasing  ../lang/db185/db185.c
libtool: compile:  cc -c -I. -I./../src -D_THREAD_SAFE -O3 -pipe
-fno-strict-aliasing ../lang/db185/db185.c  -fPIC -DPIC -o .libs/db185.o
../lang/db185/db185.c:71:7: warning: case value not in enumerated type 'DBTYPE'
[-Wswitch]
        case 0:                                 /* DB_BTREE */
             ^
1 warning generated.
libtool: compile:  cc -c -I. -I./../src -D_THREAD_SAFE -O3 -pipe
-fno-strict-aliasing ../lang/db185/db185.c -o db185.o >/dev/null 2>&1
./libtool --mode=compile cc -c -I. -I./../src  -D_THREAD_SAFE -O3 -pipe 
-fno-strict-aliasing  ../src/mutex/mut_tas.c
libtool: compile:  cc -c -I. -I./../src -D_THREAD_SAFE -O3 -pipe
-fno-strict-aliasing ../src/mutex/mut_tas.c  -fPIC -DPIC -o .libs/mut_tas.o
../src/mutex/mut_tas.c:203:3: error: instruction requires: data-barriers
                MEMBAR_ENTER();
                ^
./../src/dbinc/mutex_int.h:511:23: note: expanded from macro 'MEMBAR_ENTER'
        ({ __asm__ volatile ("dsb"); })
                             ^
<inline asm>:1:2: note: instantiated into assembly here
        dsb
        ^
../src/mutex/mut_tas.c:445:3: error: instruction requires: data-barriers
                MEMBAR_ENTER();
                ^
./../src/dbinc/mutex_int.h:511:23: note: expanded from macro 'MEMBAR_ENTER'
        ({ __asm__ volatile ("dsb"); })
                             ^
<inline asm>:1:2: note: instantiated into assembly here
        dsb
        ^
../src/mutex/mut_tas.c:645:4: error: instruction requires: data-barriers
                        MEMBAR_EXIT();
                        ^
./../src/dbinc/mutex_int.h:513:23: note: expanded from macro 'MEMBAR_EXIT'
        ({ __asm__ volatile ("dsb"); })
                             ^
<inline asm>:1:2: note: instantiated into assembly here
        dsb
        ^
../src/mutex/mut_tas.c:649:4: error: instruction requires: data-barriers
                        MEMBAR_EXIT();
                        ^
./../src/dbinc/mutex_int.h:513:23: note: expanded from macro 'MEMBAR_EXIT'
        ({ __asm__ volatile ("dsb"); })
                             ^
<inline asm>:1:2: note: instantiated into assembly here
        dsb
        ^
4 errors generated.
gmake[1]: *** [Makefile:2499: mut_tas.lo] Error 1
gmake[1]: Leaving directory
'/var/tmp/usr/ports/databases/db6/work/db-6.2.23/build_unix'
*** Error code 1


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213167
[Bug 213167] databases/db5 "Berkeley DB library configured to support only
private environments"
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list