You are not logged in.
I'm trying to build the ZFS kernel modules for 3.14.2-1 and it's not happening. It seems 3.14.2-1 was built with gcc 4.9 which is in testing. fstack-protector-strong was added in gcc 4.9. I can't update the ZFS packages in AUR until either 3.14.2 is built with gcc 4.8, or gcc 4.9 is released to stable.
configure:12121: checking whether modules can be built
configure:12144: cp conftest.c build && make modules -C /usr/lib/modules/3.14.2-1-ARCH/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/build/spl-git/src/spl/build
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
gcc: error: unrecognized command line option '-fstack-protector-strong'
make[1]: *** [/build/spl-git/src/spl/build/conftest.o] Error 1
make: *** [_module_/build/spl-git/src/spl/build] Error 2
configure:12147: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.2"
| #define SPL_META_RELEASE "33_g89aa970"
| #define SPL_META_ALIAS "spl-0.6.2-33_g89aa970"
| #define PACKAGE "spl"
| #define VERSION "0.6.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_LOG 1
| #define DEBUG_KMEM 1
|
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
|
configure:12162: result: no
configure:12165: error: *** Unable to build an empty module.
Anyone have any ideas how to fix this? I can build the packages in testing, but not in stable.
Last edited by demizer (2014-05-01 13:29:17)
Offline
You have already covered the main solutions. Wait for the updated tool chain to move into [core] or use [testing]. If you opt for the former, consider downgrading your kernel in the meantime.
EDIT: this is relevant: https://mailman.archlinux.org/pipermail … 36065.html
Last edited by WorMzy (2014-05-01 12:48:45)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Welp, looks like we'll have to wait. Thanks!
Offline
Not real thrilled with this state of affairs. I use the broadcom-wl dkms package for wireless and am fortunate that I'm at a location today where I can plug in an Ethernet cable, as the toolchain is now broken. Somebody didn't think things through.
Offline
Same problem with rtl8723be-wifi driver. Glad to have wired lan at this moment.
Offline
Also relevant: https://bugs.archlinux.org/task/40171
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Great! gcc-4.9 is in core, wifi-driver compiled just fine, all back to life.
Offline
Not real thrilled with this state of affairs. I use the broadcom-wl dkms package for wireless and am fortunate that I'm at a location today where I can plug in an Ethernet cable, as the toolchain is now broken. Somebody didn't think things through.
I had the same problem. Even after updating the tool chain.
So I looked at the compilation errors and there was one regarding use of __DATE__ and __TIME__ (-Werror=date...) in line ~2043 in wl_linux.c coming from hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz.
I unpacked the file, changed line 2043 in wl_linux.c to not use __DATE__ and __TIME__. Repacked the tgz and updated the sha1sum in PKGBUILD. Et voila: it compiles and now I am online again.
t3o
(As I see there's now an updated aur package available on https://aur.archlinux.org/packages/broadcom-wl-dkms )
Last edited by t3o (2014-05-03 06:33:37)
Offline