/tmp/filter-273424.s:50187: Error: bad expression
A message that is not in the archive (sent off-list or not yet received): 20200707023303.GA277193@ubuntu-s3-xlarge-x86
Quoted 30 lines · Nathan Chancellor
Quoted 16 lines · Nick Desaulniers' via Clang Built Linux
Quoted 15 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.4 head: bb26a37d5a4bf25b8377c83fa407a219b3822ed1 commit: 5cee9e67596f7d694e94d7def7cd9d65a7599f66 [109/220] i2c: core: check returned size of emulated smbus block read config: s390-randconfig-r024-20200706 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a378c0449507e00e96534ff9ce9034e185425182)reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
git checkout5cee9e67596f7d694e94d7def7cd9d65a7599f66
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390Quoted 5 lines
Quoted 5 lines
If you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>Note: the linux-stable-rc/queue/5.4 HEAD
bb26a37d5a4bf25b8377c83fa407a219b3822ed1builds fine.
It only hurts bisectibility.Is this note talking about the config in general? Because that config does not build at all... I see this over and over, even on mainline (note that this report is initially against 5.4, which does not build with versions of clang that support asm goto):
./arch/s390/include/asm/bitops.h:69:4: error: invalid operand in inline asm: 'oi $0,${1:b}'
Quoted 8 lines
"oi %0,%b1\n" ^ ./arch/s390/include/asm/bitops.h:90:4: error: invalid operand in inline asm: 'ni $0,${1:b}' "ni %0,%b1\n" ^This might be solved with commit
c4e5c229b610("s390/jump_label: use "i" constraint for clang").
Looks like c4e5c229b610, should we ask stable to backport to 5.4? I don't think we had clang builds working for 5.4 for s390, so maybe we should just Philip to disable Clang builds of this stable branch for s390? (There may not be too many backports to support, but I don't know the amount of work involved there).
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 38 lines · Nick Desaulniers
Quoted 36 lines · Nathan Chancellor
Quoted 16 lines · Nick Desaulniers' via Clang Built Linux
Quoted 15 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.4 head: bb26a37d5a4bf25b8377c83fa407a219b3822ed1 commit: 5cee9e67596f7d694e94d7def7cd9d65a7599f66 [109/220] i2c: core: check returned size of emulated smbus block read config: s390-randconfig-r024-20200706 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a378c0449507e00e96534ff9ce9034e185425182)reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
git checkout5cee9e67596f7d694e94d7def7cd9d65a7599f66
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390Quoted 5 lines
Quoted 5 lines
If you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>Note: the linux-stable-rc/queue/5.4 HEAD
bb26a37d5a4bf25b8377c83fa407a219b3822ed1builds fine.
It only hurts bisectibility.Is this note talking about the config in general? Because that config does not build at all... I see this over and over, even on mainline (note that this report is initially against 5.4, which does not build with versions of clang that support asm goto):
./arch/s390/include/asm/bitops.h:69:4: error: invalid operand in inline asm: 'oi $0,${1:b}'"oi %0,%b1\n" ^ ./arch/s390/include/asm/bitops.h:90:4: error: invalid operand in inline asm: 'ni $0,${1:b}' "ni %0,%b1\n" ^
Quoted 7 lines
Quoted 2 lines
This might be solved with commit
c4e5c229b610("s390/jump_label: use "i" constraint for clang").Looks like
c4e5c229b610, should we ask stable to backport to 5.4? I don't think we had clang builds working for 5.4 for s390, so maybe we should just Philip to disable Clang builds of this stable branch for s390? (There may not be too many backports to support, but I don't
Got it, we will disable s390 for the linux-stable-rc.
BTW: does the bot need switch to use clang's as instead of gnu's?
Quoted 6 lines
know the amount of work involved there).
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 7 lines · Philip Li
Quoted 4 lines · Nick Desaulniers
Looks like
c4e5c229b610, should we ask stable to backport to 5.4? I don't think we had clang builds working for 5.4 for s390, so maybe we should just Philip to disable Clang builds of this stable branch for s390? (There may not be too many backports to support, but I don'tGot it, we will disable s390 for the linux-stable-rc.
Yeah, it's hard for s390 and probably riscv support on stable as we only got those working on mainline recently.
Quoted 1 line
BTW: does the bot need switch to use clang's as instead of gnu's?
No; in the process of whipping LLVM's binutils substitutes into shape, we're doing pretty well, except for clang's integrated assembler (IA). Ironically, right now we can only build risc-v with clang's IA.
I would recommend make LLVM=1 for most cases, though make CC=clang LD=ld.lld ... may be all that we can get away with for testing stable tree's branches.
Will you, Rong, and the rest of the 0day bot team be attending Linux Plumbers Conference this year? I would like to put together a session on "CI and Clang" with the kernelci folks and tuxbuild folks to go over our current compatibility table, which is a little complex ATM. If you're attending the conference, would you be interested in attending such a session?
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 11 lines · Nick Desaulniers
Quoted 7 lines · Philip Li
Quoted 4 lines · Nick Desaulniers
Looks like
c4e5c229b610, should we ask stable to backport to 5.4? I don't think we had clang builds working for 5.4 for s390, so maybe we should just Philip to disable Clang builds of this stable branch for s390? (There may not be too many backports to support, but I don'tGot it, we will disable s390 for the linux-stable-rc.
Yeah, it's hard for s390 and probably riscv support on stable as we only got those working on mainline recently.
got it, we will disable riscv for stable as well when kernel <= 5.4.
Quoted 11 lines
Quoted 2 lines
BTW: does the bot need switch to use clang's as instead of gnu's?
No; in the process of whipping LLVM's binutils substitutes into shape, we're doing pretty well, except for clang's integrated assembler (IA). Ironically, right now we can only build risc-v with clang's IA.
I would recommend
make LLVM=1for most cases, thoughmake CC=clang LD=ld.lld ...may be all that we can get away with for testing stable tree's branches.
Quoted 6 lines
Will you, Rong, and the rest of the 0day bot team be attending Linux Plumbers Conference this year? I would like to put together a session on "CI and Clang" with the kernelci folks and tuxbuild folks to go over our current compatibility table, which is a little complex ATM. If you're attending the conference, would you be interested in attending such a session?
thanks, this is not decided yet at our side, we will update this later. Yes, if we have chance to attend, we are glad to join such session.
Quoted 3 lines
Signature · 2 lines
Thanks, ~Nick Desaulniers