Date: Mon, 14 Sep 2020 05:17:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249300] 12-STABLE: openZFS compiler error in "buildkernel": ld error: arith_yylex.c Message-ID: <bug-249300-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249300 Bug ID: 249300 Summary: 12-STABLE: openZFS compiler error in "buildkernel": ld error: arith_yylex.c Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ohartmann@walstatt.org Recent 12-STABE, r365705, fails to compile, after upgrading /usr/src from r365684 with a compiler error, as shown below. [...] =3D=3D=3D> bin/sh (all) 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 -O2 -pipe -O3 -fno-common -march=3Dnative -DSHELL -I. -I/usr/src/bin/sh -DNDEBUG -fPIE -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -pie = -o sh alias.o arith_yacc.o arith_yylex.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o kill.o mail.o main.o memalloc.o miscblti= n.o mystring.o options.o output.o parser.o printf.o redir.o show.o test.o trap.o var.o builtins.o nodes.o syntax.o -ledit=20 ld: error: can't create dynamic relocation R_X86_64_32S against local symbo= l in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'= to allow text relocations in the output >>> defined in arith_yylex.o >>> referenced by arith_yylex.c >>> arith_yylex.o:(yylex) ld: error: can't create dynamic relocation R_X86_64_64 against local symbol= in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'= to allow text relocations in the output >>> defined in arith_yylex.o >>> referenced by arith_yylex.c >>> arith_yylex.o:(.rodata+0x0) --=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-249300-227>