Open Bug 1520776 Opened 5 years ago Updated 2 years ago

Solaris - Undefined symbol epoll_wait first referenced in file libmio.rlib

Categories

(Firefox Build System :: General: Unsupported Platforms, defect, P5)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: petr.sumbera, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

2:39.52 error: linking with /builds/psumbera/FIREFOX-TRUNK/build/cargo-linker failed: exit code: 1
2:39.52 |
2:39.73 = note: "/builds/psumbera/FIREFOX-TRUNK/build/cargo-linker" "-m64" "-L" "/builds/psumbera/rustc-1.31.1/lib/rustlib/x86_64-sun-solaris/lib" "/builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/./x86_64-sun-solaris/debug/deps/geckodriver-d2f4242024f794ad.11q74yy9eausd4g1.rcgu.o" "/builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/./x86_64-sun-solaris/debug/deps/geckodriver-d2f4242024f794ad.15bpl5m0st3lm38i.rcgu.o"
..
"/builds/psumbera/rustc-1.31.1/lib/rustlib/x86_64-sun-solaris/lib/libcore-308adeb95dac5f44.rlib" "-Wl,--end-group" "/builds/psumbera/rustc-1.31.1/lib/rustlib/x86_64-sun-solaris/lib/libcompiler_builtins-38f6e7a6d7e9219a.rlib" "-Wl,-Bdynamic" "-lsocket" "-lposix4" "-lpthread" "-lresolv" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread"
2:39.73 = note: Undefined first referenced
2:39.73 symbol in file
2:39.73 epoll_wait /builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/x86_64-sun-solaris/debug/deps/libmio-b89cfbdc6cd98942.rlib(mio-b89cfbdc6cd98942.mio.b8jyt17h-cgu.11.rcgu.o)
2:39.73 epoll_create /builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/x86_64-sun-solaris/debug/deps/libmio-b89cfbdc6cd98942.rlib(mio-b89cfbdc6cd98942.mio.b8jyt17h-cgu.11.rcgu.o)
2:39.73 __stack_chk_fail /builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/x86_64-sun-solaris/debug/deps/libbzip2_sys-7891db3db5c8d3b2.rlib(bzlib.o)
2:39.74 epoll_ctl /builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/x86_64-sun-solaris/debug/deps/libmio-b89cfbdc6cd98942.rlib(mio-b89cfbdc6cd98942.mio.b8jyt17h-cgu.11.rcgu.o)
2:39.74 __stack_chk_guard /builds/psumbera/FIREFOX-TRUNK/obj-x86_64-pc-solaris2.11/testing/geckodriver/x86_64-sun-solaris/debug/deps/libbzip2_sys-7891db3db5c8d3b2.rlib(bzlib.o)
2:39.74 ld: fatal: symbol referencing errors
2:39.74 collect2: error: ld returned 1 exit status

epoll_* functions are not available in Solaris.

geckodriver relies on a library that uses epoll and that probably
doesn’t support Solaris’ evport. geckodriver is a build dependency
for Firefox because it is used to drive our WebDriver implementation
and a subset of the Web Platform Tests (WPT).

However, you can get past this by disabling it in your mozconfig
file:

ac_add_options --disable-geckodriver

Component: Untriaged → General: Unsupported Platforms
Product: Firefox → Firefox Build System
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.