On Mon, 13 Feb 2017 20:39:00 +0100 (CET)
"Francisco J. Tsao Santin" <[email protected]> wrote:

> Hi all,
> 
> We have a problem with the hardlink package. The koji build made by
> Fedora Release Engineering failed in armv7hl and i686 architectures.
> I saw the logs and I tried a mock build in my own machine too, the
> problem is always the same:
> 
> + gcc -O2 -g -pipe -Wall -Werror=format-security
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
> --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686
> -fasynchronous-unwind-tables hardlink.c -o hardlink /tmp/cc1xWk9j.o:
> In function `rf': /builddir/build/BUILD/hardlink-1.1/hardlink.c:257:
> undefined reference to `stcmp' collect2: error: ld returned 1 exit
> status
> 
> Of course, stcmp is declared. It's very weird, because the other
> architectures don't have the issue, nor f25 builds.
> 
> Any idea about what can be happening?

it could be a gcc7 bug on 32-bit arches, you can check by switching to
-O1 or -O0 instead of the default -O2, or by dropping "inline" for
stcmp()


                Dan
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to