Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19434 - binutils 2.13.90.0.xx does not compile on i386 nor i486 architecture
Summary: binutils 2.13.90.0.xx does not compile on i386 nor i486 architecture
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 15:12 UTC by Christian Schaefer
Modified: 2003-08-03 06:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schaefer 2003-04-16 15:12:05 UTC
at least all 2.13.90.0.xx versions of binutils do not compile on an i386 nor 
i486 architecture.
(trying a 1.4_rc4 bootstrap on an AMD Enhanced Am486DX4-S at 100MHz)

following error:

*** BFD does not support target i386-pc-none.
*** Look in bfd/config.bfd for supported targets.
make: *** [configure-opcodes] Error 1

!!! ERROR: sys-devel/binutils-2.13.90.0.18 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. do a 1.4_rc bootstrap on a AMD Enhanced Am486DX4-S at 100MHz.
2. when emerging binutils above error comes up
3.

Actual Results:  
following error:

*** BFD does not support target i386-pc-none.
*** Look in bfd/config.bfd for supported targets.
make: *** [configure-opcodes] Error 1

!!! ERROR: sys-devel/binutils-2.13.90.0.18 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)


Expected Results:  
well it should compile, right?
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-30 14:51:47 UTC
wrong place, **please** read the category descriptions.
Comment 2 Bruce Bird 2003-06-04 12:51:26 UTC
I'm having the same problem compiling for a i486DX2  from stage1
using an AMD Athalon 1.3

The error is reproducable on every run of bootstrap.sh

I'm using these options from "make.conf":

CHOST="i486"
CFLAGS="-march=i486 -Os -mfpmath=387"
FEATURES="userpriv usersandbox"

this is a paste of the error:

*** BFD does not support target i486-pc-none.
*** Look in bfd/config.bfd for supported targets.
make: *** [configure-opcodes] Error 1

!!! ERROR: sys-devel/binutils-2.13.90.0.18 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)

upon looking at the "bfd/config.bfd" file located at
/var/tmp/portage/binutils-2.13.90.0.18/work/binutils-2.13.90.0.18/bfd/config.bfd
I've noticed that there is no support for any i[3456]86-pc-none listed
I don't know if just adjusting the config file to say 
"i[3456]86*" instead of "i[3456]86" would fix that.
Comment 3 Bruce Bird 2003-06-06 11:13:07 UTC
I've found out what I was doing wrong

the CHOST flag needs to be set to something along these lines

CHOST="i486-pc-linux-gnu"

the important part is to get the "-pc-linux-gnu" part on the flag.

It might be a good idea to look at rewording the way its 
described in the default make.conf file, it is a bit misleading
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-03 06:36:58 UTC
Latest make.conf seems ok to me.