Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/kunit-kselftests 20/23] kunit-uapi-example.c:undefined reference to `puts'
@ 2025-02-04 15:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-04 15:40 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/kunit-kselftests
head:   6d126c0bfc92d0e1a6bdfa63079084a712cfaad6
commit: 3bb4eba563cc71cd24e0ee6106cbd04a490a93c6 [20/23] kunit: uapi: Add example for UAPI tests
config: i386-buildonly-randconfig-005-20250204 (https://download.01.org/0day-ci/archive/20250204/202502042336.1EG4c06S-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250204/202502042336.1EG4c06S-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502042336.1EG4c06S-lkp@intel.com/

All errors (new ones prefixed by >>):

   /usr/bin/ld: /tmp/kunit-uapi-example-b6af0a.o: in function `main':
>> kunit-uapi-example.c:(.text+0x10a): undefined reference to `puts'
   clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-04 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 15:40 [thomas-weissschuh:b4/kunit-kselftests 20/23] kunit-uapi-example.c:undefined reference to `puts' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox