Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2016 06:58:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213223] databases/db6 fails to compile on ARM
Message-ID:  <bug-213223-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213223

            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@FreeBSD.org
          Reporter: mandree@FreeBSD.org
                CC: vivek@khera.org
            Blocks: 213167

databases/db6 fails to compile on ARM with

=3D=3D=3D>  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=3Dcompile cc -c -I. -I./../src  -D_THREAD_SAFE -O3 -pipe=20
-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 'DBT=
YPE'
[-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=3Dcompile cc -c -I. -I./../src  -D_THREAD_SAFE -O3 -pipe=20
-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=3D213167
[Bug 213167] databases/db5 "Berkeley DB library configured to support only
private environments"
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213223-13>