Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 326507

Summary: sys-devel/binutils-2.20.1-r1: while assembling intel asm: Error: too many memory references for `ljmp'
Product: Gentoo Linux Reporter: Christian Hofstaedtler <ch+gentoobugs>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal Keywords: Inclusion
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10740
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Hofstaedtler 2010-07-01 18:18:25 UTC
binutils 2.20.1 has a bug in gas which prevents some intel asm files to compile.

See http://sourceware.org/bugzilla/show_bug.cgi?id=10740 for the upstream bug.



Reproducible: Always

Steps to Reproduce:
1. Get mbr.S from http://git.grml.org/?p=grml2usb.git;a=blob;f=mbr/mbr.S;h=3f69c26e528ba008bda4c7eda3fe3e665b531c50;hb=HEAD
2. cc -D_ASM_SOURCE -DBOOTMANAGER -D__BOOT_VER=\"0AA6\" -c mbr.S


Actual Results:  
mbr.S: Assembler messages:
mbr.S:218: Error: too many memory references for `ljmp'


Expected Results:  
Assembed binary ;)
Comment 1 SpanKY gentoo-dev 2010-12-09 11:22:14 UTC
2.21 is in the tree now and should contain the fix