You are not logged in.

#1 2014-05-02 20:12:49

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

Hi Guys,

I need to compile my kernels with ABS because I need 16 DVB adaptors instead of 8. This works normally just fine. Today I tried to compile newest kernel and got following error during config. For the record 3.14.1-1 built just fine.

Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  CHK     include/config/kernel.release
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
  UPD     include/config/kernel.release
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  WRAP    arch/x86/include/generated/asm/clkdev.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  CC      kernel/bounds.s
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
/home/server/core/linux/src/linux-3.14/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:884: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
==> ERROR: A failure occurred in prepare().
    Aborting... 

Thanks for the help

Last edited by wdirksen (2014-05-02 20:31:32)


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#2 2014-05-02 20:17:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

Update with a freshly sync'ed mirror; https://bugs.archlinux.org/task/40112


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2014-05-02 20:17:39

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,911
Website

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

Update your system, your gcc is still <4.9.0.


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.

Offline

#4 2014-05-02 20:29:03

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

Thanks guys. This verifies something I've noticed before. I just moved to New Zealand and the packages in the NZ mirror are not all in sync at the same time. I ran a pacman -Syyu just before trying to compile the kernel and there was no gcc update. I ran it again now about 30 minutes later and there it is. I'll keep this in mind.


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#5 2014-05-02 20:30:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

wdirksen wrote:

...I just moved to New Zealand...

Beautiful part of the the world... you just need to watch out for Saruman and his orc army tongue

wdirksen wrote:

... and the packages in the NZ mirror are not all in sync at the same time.

Use reflector....

% which upp
upp: aliased to reflector -c "United States" -a 1 -f 3 --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syyu

You need to `chmod youruser:yourgroup /etc/pacman.conf` for that to work if run by non-root.

Last edited by graysky (2014-05-02 20:33:38)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2014-05-02 20:42:36

wdirksen
Member
From: New Zealand
Registered: 2012-02-23
Posts: 107

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

I Just looked at the Reflector ArchWiki now. It looks cool.
Thanks for the tip, Graysky.


Research | Trial | Make Mistakes | Ask questions | Learn | Repeat

Offline

#7 2014-05-02 21:07:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Linux 3.14.2-1 ARCH config error - will not build with ABS [SOLVED]

wdirksen wrote:

I just moved to New Zealand and the packages in the NZ mirror are not all in sync at the same time.

The mirror situation here is pretty ordinary: but much better than it was. When I first started using Arch, we didn't have one. I had to plead with someone to set up a skunkworks one at one of the telcos. Now I only use this one:

Server = http://mirror.ece.auckland.ac.nz/archlinux/$repo/os/$arch
#Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch

With the xnet as a backup. Switching between them often results in temporary incompatibilities, so I find it easier to rely on the University one.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB