Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349420 - sys-apps/s390-tools : compilation failed with assembler error
Summary: sys-apps/s390-tools : compilation failed with assembler error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 21:20 UTC by quochoa.tran
Modified: 2010-12-23 19:03 UTC (History)
1 user (show)

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


Attachments
Build error log (build.log,50.82 KB, text/plain)
2010-12-22 21:21 UTC, quochoa.tran
Details
emerge --info =sys-apps/s390-tools-1.10.0 (info.log,4.15 KB, text/plain)
2010-12-22 21:21 UTC, quochoa.tran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description quochoa.tran 2010-12-22 21:20:44 UTC
On two computers, I can't emerge s390-tools. Emerge fail with assembler errors. "No such instruction"
Tried all version of the package in Portage + latest from IBM (using their makefile), same issue.

Probably an issue with assembler compiler
Updated binutils + trying another useflag (multitarget), same issue
Tried with just -O2, -j1 and no ccache, still same issue

Reproducible: Always

Steps to Reproduce:
1. emerge s390-tools

Actual Results:  
gcc -O2 -march=core2 -pipe -fomit-frame-pointer -W -Wall -Wno-unused-parameter  -W -Wall -Wno-unused-parameter  -W -Wall -Wno-unused-parameter  -DS390_TOOLS_RELEASE=1.10.0-build-20101222 -DS390_TOOLS_RELEASE=1.10.0-build-20101222 -DS390_TOOLS_RELEASE=1.10.0-build-20101222 -I../include -D__ASSEMBLY__ -DS390_TOOLS_VERSION_EBCDIC=0xf1,0x4b,0xf1,0xf0,0x4b,0xf0,0x60,0x82,0xa4,0x89,0x93,0x84,0x60,0xf2,0xf0,0xf1,0xf0,0xf1,0xf2,0xf2,0xf2 -c -o fba2.o fba2.S
make[1]: quittant le répertoire « /var/tmp/portage/sys-apps/s390-tools-1.10.0/work/s390-tools-1.10.0/libu2s »
make TOPDIR= ARCH=i386 -C fdasd all
fba2.S: Assembler messages:
fba2.S:19: Error: no such instruction: `basr %r1,0'
fba2.S:19: Error: no such instruction: `b _load_blocklist-.(%r1)'
fba2.S:19: Error: no such instruction: `stm %r0,%r15,0x180'
fba2.S:19: Error: no such instruction: `basr %r13,0'
fba2.S:19: Error: no such instruction: `l %r15,3f-0b(%r13)'
fba2.S:19: Error: no such instruction: `bas %r14,_menu-0b(%r13)'
fba2.S:19: Error: no such instruction: `sll %r2,3'
fba2.S:19: Error: no such instruction: `lr %r6,%r2'
fba2.S:19: Error: no such instruction: `l %r11,0xb8'
fba2.S:19: Error: no such instruction: `lr %r2,%r11'
fba2.S:19: Error: no such instruction: `bas %r14,_enable_device-0b(%r13)'
fba2.S:19: Error: bad register name `%r2'

Expected Results:  
Should compiles
Comment 1 quochoa.tran 2010-12-22 21:21:07 UTC
Created attachment 257793 [details]
Build error log
Comment 2 quochoa.tran 2010-12-22 21:21:33 UTC
Created attachment 257795 [details]
emerge --info =sys-apps/s390-tools-1.10.0
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-23 19:03:14 UTC
It will only work on an s390 system. :)

gentoo-x86/sys-apps/s390-tools $ ebuildvar KEYWORDS
 s390-tools-1.8.3.ebuild : KEYWORDS="-* s390"
 s390-tools-1.9.0.ebuild : KEYWORDS="-* s390"
s390-tools-1.10.0.ebuild : KEYWORDS="-* ~s390"