You are not logged in.
unable to build via pakepkg, trizen (usually works 100x better than yaourt if yaourt fials), or manual make
rizen-pr0/linux-amd-staging-drm-next-git/src/linux-amd-staging-drm-next-git/tools/objtool/str_error_r.o
../lib/str_error_r.c: In function ‘str_error_r’:
../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err);
^~~~~~~~
cc1: all warnings being treated as errors
mv: cannot stat '/tmp/trizen-pr0/linux-amd-staging-drm-next-git/src/linux-amd-staging-drm-next-git/tools/objtool/.str_error_r.o.tmp': No such file or directory
make[3]: *** [Build:22: /tmp/trizen-pr0/linux-amd-staging-drm-next-git/src/linux-amd-staging-drm-next-git/tools/objtool/str_error_r.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC arch/x86/purgatory/purgatory.o
AS arch/x86/purgatory/stack.o
AS arch/x86/purgatory/setup-x86_64.o
CC arch/x86/purgatory/sha256.o
AS arch/x86/purgatory/entry64.o
CC arch/x86/purgatory/string.o
make[2]: *** [Makefile:46: /tmp/trizen-pr0/linux-amd-staging-drm-next-git/src/linux-amd-staging-drm-next-git/tools/objtool/objtool-in.o] Error 2
make[1]: *** [Makefile:63: objtool] Error 2
make: *** [Makefile:1687: tools/objtool] Error 2
make: *** Waiting for unfinished jobs....
LD arch/x86/purgatory/purgatory.ro
BIN2C arch/x86/purgatory/kexec-purgatory.c
==> ERROR: A failure occurred in prepare().
Aborting...
:: Unable to build linux-amd-staging-drm-next-git - makepkg exited with code: 2
a very similiar error on linux-amd-staging-git, even went with default makepkg.conf
Last edited by pr0dukter (2018-05-28 20:26:06)
Offline
Moving to AUR Issues...
Offline
4.16-rc7 which amd-staging-drm-next is based off is incompatible with gcc8
https://git.kernel.org/pub/scm/linux/ke … 5846f5afb9
Offline
thank you so much for taking the time to respond to my question. its compiling now with earlier gcc. seriously thank you for your help. had to split pkgbuild in two essentially not smooth enough to make it all in one shot but its gonna work just fine now
Last edited by pr0dukter (2018-05-28 20:27:38)
Offline
As alternative approaches you could apply the commit as a patch in the prepare function or use makepkg -oC then manually add mainline as a git remote and then cherry-pick the commit then use makepkg -e.
Offline
the amd patch from staging-drm-next that does the find_first_bit and find_next_amd_bit has made all the difference on the kernel errors starting with ? posted previously in my dmesg, i get no errors now, all displays run at the right clocks etc, so yeah thanks for the makepkg syntax loqs i was unaware of that have been editing manually
Offline