Project

General

Profile

Actions

Bug #40584

open

kernel build failure in kernel_untar_build.sh

Added by Venky Shankar almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Have been seeing `qa/workunits/kernel_untar_build.sh` failures in luminous lately. See:

http://qa-proxy.ceph.com/teuthology/yuriw-2019-06-20_14:19:36-fs-wip-yuri4-testing-2019-06-20-0003-luminous-testing-basic-smithi/4051122/teuthology.log

Seems to be an issue with building the kernel (in luminous only). Mostly looks like a gcc/libs thing.

2019-06-20T16:28:48.801 INFO:tasks.workunit.client.0.smithi190.stdout:  CC      scripts/mod/empty.o
2019-06-20T16:28:48.812 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTCC  scripts/pnmtologo
2019-06-20T16:28:48.872 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTCC  scripts/selinux/genheaders/genheaders
2019-06-20T16:28:48.878 INFO:tasks.workunit.client.0.smithi190.stderr:cc1: error: code model kernel does not support PIC mode
2019-06-20T16:28:48.901 INFO:tasks.workunit.client.0.smithi190.stdout:scripts/Makefile.build:258: recipe for target 'scripts/mod/empty.o' failed
2019-06-20T16:28:48.901 INFO:tasks.workunit.client.0.smithi190.stderr:make[2]: *** [scripts/mod/empty.o] Error 1
2019-06-20T16:28:48.903 INFO:tasks.workunit.client.0.smithi190.stdout:scripts/Makefile.build:403: recipe for target 'scripts/mod' failed
2019-06-20T16:28:48.903 INFO:tasks.workunit.client.0.smithi190.stderr:make[1]: *** [scripts/mod] Error 2
2019-06-20T16:28:48.903 INFO:tasks.workunit.client.0.smithi190.stderr:make[1]: *** Waiting for unfinished jobs....
2019-06-20T16:28:49.040 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTCC  scripts/selinux/mdp/mdp
2019-06-20T16:28:49.049 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTCC  arch/x86/tools/relocs_64.o
2019-06-20T16:28:49.076 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTCC  arch/x86/tools/relocs_common.o
2019-06-20T16:28:49.439 INFO:tasks.workunit.client.0.smithi190.stderr:In file included from arch/x86/tools/relocs_64.c:17:0:
2019-06-20T16:28:49.439 INFO:tasks.workunit.client.0.smithi190.stderr:arch/x86/tools/relocs.c: In function 'process_64':
2019-06-20T16:28:49.439 INFO:tasks.workunit.client.0.smithi190.stderr:arch/x86/tools/relocs.c:953:2: warning: argument 1 null where non-null expected [-Wnonnull]
2019-06-20T16:28:49.439 INFO:tasks.workunit.client.0.smithi190.stderr:  qsort(r->offset, r->count, sizeof(r->offset[0]), cmp_relocs);
2019-06-20T16:28:49.439 INFO:tasks.workunit.client.0.smithi190.stderr:  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-06-20T16:28:49.440 INFO:tasks.workunit.client.0.smithi190.stderr:In file included from arch/x86/tools/relocs.h:6:0,
2019-06-20T16:28:49.440 INFO:tasks.workunit.client.0.smithi190.stderr:                 from arch/x86/tools/relocs_64.c:1:
2019-06-20T16:28:49.440 INFO:tasks.workunit.client.0.smithi190.stderr:/usr/include/stdlib.h:827:13: note: in a call to function 'qsort' declared here
2019-06-20T16:28:49.440 INFO:tasks.workunit.client.0.smithi190.stderr: extern void qsort (void *__base, size_t __nmemb, size_t __size,
2019-06-20T16:28:49.440 INFO:tasks.workunit.client.0.smithi190.stderr:             ^~~~~
2019-06-20T16:28:49.717 INFO:tasks.workunit.client.0.smithi190.stdout:  HOSTLD  arch/x86/tools/relocs
2019-06-20T16:28:49.914 INFO:tasks.workunit.client.0.smithi190.stdout:Makefile:557: recipe for target 'scripts' failed
Actions #1

Updated by Patrick Donnelly almost 5 years ago

Perhaps related to a new distro being used with luminous builds?

Actions #2

Updated by Venky Shankar almost 5 years ago

Patrick Donnelly wrote:

Perhaps related to a new distro being used with luminous builds?

yeh, probably. this is linux 5.1.0 -- not a ceph related issue as such.

Actions

Also available in: Atom PDF