Bug 1447209
Summary: | Test suite reports failed "weak undefined" test case | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Miloš Prchlík <mprchlik> |
Component: | binutils | Assignee: | Nick Clifton <nickc> |
Status: | CLOSED ERRATA | QA Contact: | Miloš Prchlík <mprchlik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | jjelen, jkoten, law, mcermak, rsroka, tpelka, vbenes, vhumpa |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 20:24:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miloš Prchlík
2017-05-02 06:32:23 UTC
I am hitting same issue, when trying to rebuild xorg-x11-server in order to obtain the xorg-x11-server-Xorg for s390x desktop test automation. Traced the issue to the binutils and this bug. This is with binutils-2.25.1-27.base.el7.s390x which has replaced the newer version of binutils-2.27-7.base.el7.s390x present in previous 7.4 nightlies... Not sure what justified the downgrade. Anyhoo, if we update the binutils back to binutils-2.27-7.base.el7.s390x, the xorg compiles again. error log: libtool: link: gcc -std=gnu99 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/freetype2 -I/usr/include/X11/dri -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/sync -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../dbe -I../../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/usr/include/libdrm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -march=z196 -mtune=zEC12 -pthread -Wl,-z -Wl,now -pie -Wl,-z -Wl,relro -o Xorg sdksyms.o -Wl,--export-dynamic ../../dix/.libs/libmain.a ../../dix/.libs/libdix.a loader/.libs/libloader.a common/.libs/libcommon.a -ludev os-support/.libs/libxorgos.a parser/.libs/libxf86config.a dixmods/.libs/libdixmods.a modes/.libs/libxf86modes.a ramdac/.libs/libramdac.a ddc/.libs/libddc.a i2c/.libs/libi2c.a ../../composite/.libs/libcomposite.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a -lselinux ../../dbe/.libs/libdbe.a ../../record/.libs/librecord.a ../../randr/.libs/librandr.a ../../render/.libs/librender.a ../../damageext/.libs/libdamageext.a ../../present/.libs/libpresent.a ../../miext/damage/.libs/libdamage.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a dixmods/.libs/libxorgxkb.a dri/.libs/libdri.a dri2/.libs/libdri2.a ../../dri3/.libs/libdri3.a ../../miext/sync/.libs/libsync.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a -lcrypto -ldl ../../Xext/.libs/libXvidmode.a -lpciaccess -ldrm -lpixman-1 -lXfont2 -lXau -lsystemd -lxshmfence -lXdmcp -lpam_misc -lpam -laudit -lm -pthread /bin/ld: ../../os/.libs/libos.a(utils.o): `misc_conv@@LIBPAM_MISC_1.0' non-PLT reloc for symbol defined in shared library and accessed from executable (rebuild file with -fPIC ?) /bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[4]: *** [Xorg] Error 1 make[4]: Leaving directory `/home/test/rpmbuild/BUILD/xorg-server-1.19.3/hw/xfree86' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/test/rpmbuild/BUILD/xorg-server-1.19.3/hw/xfree86' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/test/rpmbuild/BUILD/xorg-server-1.19.3/hw/xfree86' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/test/rpmbuild/BUILD/xorg-server-1.19.3/hw' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.SGb6yh (%build) This is also affecting sudo. I'm not able to make a new build. https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13133749 Affects also OpenSSH rebuild: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13134390 Is there estimated timeframe when it will get fixed? The binutils-2.25.1-27.base.el7 is now in the brew buildroot. (In reply to Martin Cermak from comment #4) > The binutils-2.25.1-27.base.el7 is now in the brew buildroot. Yes. It is. But it is the same version that was failing (and still is). This problem was caused by the fix for BZ 1406430. Since that BZ is an enhancement request, whereas this BZ represents a build failure, I have updated the binutils rpm and disabled the 1406430 fix. Please try binutils-2.25.1-30.base.el7 Just tried out the sudo and openssh rebuild on s390x. Reproduced the build failures with binutils-2.25.1-27.base.el7, verified the build success with binutils-2.25.1-30.base.el7. Pushed binutils-2.25.1-27.base.el7 to the buildroot and tested the rebuilds: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13138008 https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=13138009 Looks OK. Verified with build binutils-2.25.1-30.base.el7.s390x. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1864 |