linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* con3270.o is built twice, leading to errors
@ 2023-07-14  6:33 Jiri Slaby
  2023-07-14 20:01 ` Nicolas Schier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jiri Slaby @ 2023-07-14  6:33 UTC (permalink / raw)
  To: Masahiro Yamada, Nathan Chancellor, Nick Desaulniers,
	Nicolas Schier, Linux Kbuild mailing list

Hi,

if I create an s390 defconfig:
mkdir /tmp/s390/
make O=/tmp/s390/ ARCH=s390 CROSS_COMPILE=s390x-suse-linux- defconfig

And then if I try for a couple times:
make O=/tmp/s390/ -j17 ARCH=s390 CROSS_COMPILE=s390x-suse-linux- 
drivers/s390/char/con3270.o

Most of the time, I get:
make[1]: Entering directory '/tmp/s390'
   GEN     Makefile
   CALL    /home/latest/linux/scripts/checksyscalls.sh
   CC      drivers/s390/char/con3270.o
   CC      drivers/s390/char/con3270.o

I.e. it is built twice.

Sometimes, I also get an error:
fixdep: error opening file: drivers/s390/char/.con3270.o.d: No such file 
or directory
make[4]: *** [/home/latest/linux/scripts/Makefile.build:243: 
drivers/s390/char/con3270.o] Error 2
make[4]: *** Deleting file 'drivers/s390/char/con3270.o'
make[3]: *** [/home/latest/linux/scripts/Makefile.build:477: drivers]

Obviously due to some race.

Any ideas what is going on?

thanks,
-- 
js
suse labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-21 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  6:33 con3270.o is built twice, leading to errors Jiri Slaby
2023-07-14 20:01 ` Nicolas Schier
2023-07-15  5:04 ` Masahiro Yamada
2023-07-17  8:30   ` Jiri Slaby
2023-07-19  8:30 ` arch/um's ssl.o [was: con3270.o] " Jiri Slaby
2023-07-21 13:37   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).