Date: Fri, 19 Oct 2018 13:51:45 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 229893] www/firefox: update to 63.0 (currently, RC phase) Message-ID: <bug-229893-21738-1GP2H7Bx3h@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229893-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-229893-21738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229893 --- Comment #10 from Piotr Kubaj <pkubaj@anongoth.pl> --- (In reply to Jan Beich from comment #9) I don't think it's HBSD's fault, the same error happens also on FreeBSD (it= 's just that this PC is slow so I don't want to compile all packages with Poudriere). The test case is this: $/usr/ports/www/firefox/work/.build$ cat conftest.c=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 int main() {return 0;} It's compiled using: /usr/local/bin/clang70 -std=3Dgnu99 -o conftest -O2 -pipe -march=3Dnative = -O3 -DLIBICONV_PLUG -fstack-protector-all -isystem /usr/local/include -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -p= ipe -Qunused-arguments -DLIBICONV_PLUG -isystem /usr/local/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wl,--as-needed -fstack-protector -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,--build-id=3Dsha1 @conftest.list -L/usr/local/lib My make.conf is: CPUTYPE?=3Dnative DISTDIR=3D/tmp RANDOMIZE_MASTER_SITES=3D"YES" DISABLE_VULNERABILITIES=3Dyes DEFAULT_VERSIONS=3D linux=3Dc7_64 SSP_CFLAGS=3D"-fstack-protector-all" Compiling with -v: /usr/local/bin/clang70 -std=3Dgnu99 -o conftest -O2 -pipe -march=3Dnative = -O3 -DLIBICONV_PLUG -fstack-protector-all -isystem /usr/local/include -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -p= ipe -Qunused-arguments -DLIBICONV_PLUG -isystem /usr/local/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wl,--as-needed -fstack-protector -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,--build-id=3Dsha1 @conftest.list -L/usr/local/lib -v Result: clang version 7.0.0 (tags/RELEASE_700/final) Target: x86_64-portbld-freebsd12.0 Thread model: posix InstalledDir: /usr/local/llvm70/bin "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=3Dboth --enable-new-dtags -o conftest /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/local/lib -L/usr/lib --as-needed= -z noexecstack -z text -z relro -z nocopyreloc --build-id=3Dsha1 conftest.o -l= gcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /usr/bin/ld: error: unresolvable relocation R_X86_64_PC32 against symbol '__stack_chk_guard'; recompile with -fPIC or remove '-z nocopyreloc' >>> defined in /lib/libc.so.7 >>> referenced by conftest.c >>> conftest.o:(main) clang-7: error: linker command failed with exit code 1 (use -v to see invocation) --=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-229893-21738-1GP2H7Bx3h>