Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391433 - =sys-apps/s390-tools-1.13.0 fails to build with >=binutils-2.21
Summary: =sys-apps/s390-tools-1.13.0 fails to build with >=binutils-2.21
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: s390 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://marc.info/?l=linux-s390&m=1323...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 20:05 UTC by Raúl Porcel (RETIRED)
Modified: 2011-12-05 19:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (s390tools.log,8.31 KB, text/plain)
2011-11-22 20:05 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2011-11-22 20:05:49 UTC
Created attachment 293431 [details]
build.log

Relevant part:
gcc -O2 -pipe -W -Wall -Wno-unused-parameter  -W -Wall -Wno-unused-parameter  -W -Wall -Wno-unused-parameter  -DS390_TOOLS_RELEASE=1.13.0-build-20111121 -DS390_TOOLS_LIBDIR=/lib/s390-tools -DS390_TOOLS_SYSCONFDIR=/etc -DS390_TOOLS_RELEASE=1.13.0-build-20111121 -DS390_TOOLS_LIBDIR=/lib/s390-tools -DS390_TOOLS_SYSCONFDIR=/etc -DS390_TOOLS_RELEASE=1.13.0-build-20111121 -DS390_TOOLS_LIBDIR=/lib/s390-tools -DS390_TOOLS_SYSCONFDIR=/etc -I../include -D__ASSEMBLY__ -DS390_TOOLS_VERSION_EBCDIC=0xf1,0x4b,0xf1,0xf3,0x4b,0xf0,0x60,0x82,0xa4,0x89,0x93,0x84,0x60,0xf2,0xf0,0xf1,0xf1,0xf1,0xf1,0xf2,0xf1 -c -o eckd2dump.o eckd2dump.S
eckd2dump.S: Assembler messages:
eckd2dump.S:708: Error: Unrecognized opcode: `larl'
eckd2dump.S:708: Error: Unrecognized opcode: `larl'
make[2]: *** [eckd2dump.o] Error 1
rm fba0.exec eckd1a.exec eckd1b.exec eckd2.exec fba2.exec eckd0.o fba0.o eckd1a.o eckd0.exec eckd1b.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/s390-tools-1.13.0/work/s390-tools-1.13.0/zipl/boot'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/s390-tools-1.13.0/work/s390-tools-1.13.0/zipl'
make: *** [subdirs_all_zipl] Error 2
Comment 1 SpanKY gentoo-dev 2011-11-22 21:59:46 UTC
pretty sure it's the same issue as Bug 365999

latest toolchain and current s390-tools stable fails to build in same way, so it's likely not s390-tools ...
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2011-11-26 18:12:26 UTC
Yeah, downgrading to binutils-2.20 works.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2011-11-26 18:26:21 UTC
Also fails with binutils-2.22, so, yeah, not s390-tools...
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2011-11-27 12:41:50 UTC
I've looked at what debian does:
   * Build zipl boot block with -m64 to support the new assembler
     instructions

Adding CFLAGS += -m64 and LDFLAGS= -O2 -m64 in the Makefile in zipl/boot works. Maybe <binutils-2.21 did something wrong?