[Bug 237077] possible race in build: /usr/src/sys/amd64/linux/linux_support.s:38:2: error: expected relocatable expression

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 7 18:04:26 UTC 2019


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

            Bug ID: 237077
           Summary: possible race in build:
                    /usr/src/sys/amd64/linux/linux_support.s:38:2: error:
                    expected relocatable expression
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: lwhsu at FreeBSD.org

In some rare cases, we hit following error:

cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp -DLOCORE
-O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC   
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
-gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member  -mno-aes
-mno-avx  -std=iso9899:1999  /usr/src/sys/amd64/linux/linux_support.s -o
linux_support.o
/usr/src/sys/amd64/linux/linux_support.s:38:2: error: expected relocatable
expression
 movl $-EFAULT,%eax
 ^

Sample build logs:
https://ci.freebsd.org/job/FreeBSD-head-amd64-build/10679/console
https://ci.freebsd.org/job/FreeBSD-stable-12-amd64-build/825/console

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list