lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 22 Jan 2019 12:44:18 +0100
From:   Geert Uytterhoeven <>
To:     kbuild test robot <>
Cc:     Olof Johansson <>,,
        Linux Kernel Mailing List <>
Subject: Re: proc.c:undefined reference to `strcmp'

On Tue, Jan 22, 2019 at 11:11 AM kbuild test robot <> wrote:
> It's probably a bug fix that unveils the link errors.
> tree: master
> head:   47bfa6d9dc8c060bf56554a465c9031e286d2f80
> commit: 35004f2e55807a1a1491db24ab512dd2f770a130 lib/genalloc.c: include vmalloc.h
> date:   2 weeks ago
> config: m68k-allmodconfig (attached as .config)
> compiler: m68k-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
> reproduce:
>         wget -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 35004f2e55807a1a1491db24ab512dd2f770a130
>         # save the attached .config to linux build tree
>         GCC_VERSION=8.2.0 make.cross ARCH=m68k
> All errors (new ones prefixed by >>):
>    m68k-linux-gnu-ld: block/partitions/ldm.o: in function `ldm_partition':
>    ldm.c:(.text+0x1900): undefined reference to `strcmp'
>    m68k-linux-gnu-ld: ldm.c:(.text+0x1964): undefined reference to `strcmp'
>    m68k-linux-gnu-ld: drivers/rtc/proc.o: in function `is_rtc_hctosys':
> >> proc.c:(.text+0x18c): undefined reference to `strcmp'
>    m68k-linux-gnu-ld: drivers/watchdog/watchdog_pretimeout.o: in function `watchdog_register_governor':
>    watchdog_pretimeout.c:(.text+0x142): undefined reference to `strcmp'
>    m68k-linux-gnu-ld: drivers/devfreq/devfreq.o: in function `try_then_request_governor':
>    devfreq.c:(.text+0x9c6): undefined reference to `strcmp'

I guess this bisection is a false positive. Have you just upgraded to gcc 8?
Gcc 8 replaces the strncmp() in is_rtc_hctosys() to strcmp().
Will be fixed in v5.1 by



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists