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

Bug 215895

Summary: avr target does not build with gcc-4.2.3
Product: Gentoo Linux Reporter: J.C. Wren <jcwren>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: normal CC: tmurray
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cross-avr-info.log
cross-avr-gcc-stage1.log

Description J.C. Wren 2008-04-02 14:43:35 UTC
'crossdev -t avr' fails curing the cross-gcc-stage1 phase.

Reproducible: Always

Steps to Reproduce:
1.crossdev -t avr
2.
3.

Actual Results:  
 # crossdev -t avr
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   *
 * Target System:         avr
 * Stage:                 3 (C compiler & libc)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * libc:                  avr-libc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/avr
 * PORTAGE_TMPDIR:        /var/tmp/cross/avr
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _ 
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-avr-binutils.log
 * Emerging cross-binutils ...                                                                                                                                                                [ ok ]
 * Log: /var/log/portage/cross-avr-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

 * gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-avr-info.log
 * /var/log/portage/cross-avr-gcc-stage1.log


Expected Results:  
It should compile :)
Comment 1 J.C. Wren 2008-04-02 14:44:05 UTC
Created attachment 148095 [details]
cross-avr-info.log
Comment 2 J.C. Wren 2008-04-02 14:44:39 UTC
Created attachment 148096 [details]
cross-avr-gcc-stage1.log
Comment 3 SpanKY gentoo-dev 2008-04-02 21:12:22 UTC
someone who actually cares about avr will have to investigate/fix
Comment 4 Timm Murray 2008-05-07 19:09:51 UTC
I have the same problem. I tried it with GCC 4.1.2 (crossdev --target avr --g 4.1.2) and it worked.