Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2019 18:04:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237077] possible race in build: /usr/src/sys/amd64/linux/linux_support.s:38:2: error: expected relocatable expression
Message-ID:  <bug-237077-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org

In some rare cases, we hit following error:

cc -target x86_64-unknown-freebsd13.0
--sysroot=3D/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=20=
=20=20
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-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__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp=
are
-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=3Diso9899: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

--=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-237077-227>