Summary: | databases/mariadb102-server: Fails to link, undefined symbols referenced in storage/innobase/libinnobase.a | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ivan Rozhuk <rozhuk.im> | ||||||||||
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> | ||||||||||
Status: | Closed Overcome By Events | ||||||||||||
Severity: | Affects Only Me | CC: | ekillips, rozhuk.im | ||||||||||
Priority: | --- | Keywords: | needs-qa | ||||||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brnrd) |
||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
URL: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236546 | ||||||||||||
Attachments: |
|
Description
Ivan Rozhuk
2019-02-20 12:18:36 UTC
@Reporter, could you please provide - complete system information (uname -a, etc) - /etc/make.conf and other build configuration information - Try to reproduce with ccache disabled Created attachment 202184 [details]
make.conf
FreeBSD firewall 12.0-STABLE FreeBSD 12.0-STABLE #1 r344219M: Sun Feb 17 15:39:49 MSK 2019 root@firewall:/usr/obj/usr/src/amd64.amd64/sys/RIM_SRV amd64
I try to disable ccache in make.conf and deinstall it - not help.
Port options:
LZ4
LZO
INNOBASE
XTRADB
GSSAPI_NONE
Comment on attachment 202184 [details]
make.conf
Can you try disabling XtraDB? Having both XtraDB and InnoDB doesn't make much sense as at run-time you can't have them both...
(In reply to Bernard Spil from comment #3) INNOBASE only - fail XTRADB only - ok That's weird. I have the default options building just fine on vanilla 12.0 amd64. I try to build with gcc, it is ok. env USE_GCC=yes make 1782 files to build. make package - ok. clang try to build 1811 files. clang always show: c++: warning: -Wl,-z,relro,-z,now: 'linker' input unused [-Wunused-command-line-argument] I also try to build with clang and env LLD_UNSAFE=yes make builds 1811 files ok. make package - ok. There was another bug that fixed with LLD_UNSAFE: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236546 probably something happen with lld on FreeBSD 12. Created attachment 204070 [details]
clang configure
Created attachment 204071 [details]
gcc configure
Created attachment 204072 [details]
diff gcc clang configure
clang and clang +LLD_UNSAFE=yes diff only with:
+===> mariadb102-server-10.2.23 depends on file: /usr/local/bin/as - found
Now works ok, probably update llvm in system fix it. |