Description of problem: hardlink builds fail in 32-bit architectures Version-Release number of selected component (if applicable): 1.1-4 How reproducible: + 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 Steps to Reproduce: 1. F26 build 2. 3. Actual results: Expected results: Additional info:
Following the advice by Jakub Jelinek, I fixed modifying the inline declarations in this way for a better C99 compatibility: __attribute__((always_inline)) inline int stcmp(struct stat *st1, struct stat *st2, int content_only) Pushed the solution to Rawhide.
*** Bug 1423702 has been marked as a duplicate of this bug. ***