- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Toolchain
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Trunk
- Due in Version Undecided
-
Due Date
Undecided
- Private
Attached to Project: OpenWrt/LEDE Project
Opened by John Doe - 14.04.2018
Last edited by Jo-Philipp Wich - 26.04.2018
Opened by John Doe - 14.04.2018
Last edited by Jo-Philipp Wich - 26.04.2018
FS#1493 - Failed to build the Openwrt SDK on macOS
<stdin>:16:24: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma __attribute__((section(".init_array"))) ^ 1 error generated. compiling preload library failed
In scripts/bundle-libraries.sh, line 90
maybe it should be changed from
__attribute__((section(".init_array")))
to something like
#ifdef __APPLE__ __attribute__((section(".init_array"))) #else __attribute__((section("__DATA,__mod_init_func"))) #endif
It should be
Fixed with https://git.openwrt.org/746c590882b96d5ed4d4115e4bdab4c838af7806