Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395635 - "crossdev -t msp430" fails on gcc stage 1
Summary: "crossdev -t msp430" fails on gcc stage 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 04:33 UTC by David Relson
Modified: 2011-12-23 01:26 UTC (History)
1 user (show)

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


Attachments
info file (cross-msp430-info.log,15.50 KB, text/plain)
2011-12-22 04:35 UTC, David Relson
Details
gcc stage 1 log file (cross-msp430-msp430-gcc-stage1.log,632.54 KB, text/plain)
2011-12-22 04:36 UTC, David Relson
Details
config log file (config.log,12.78 KB, text/plain)
2011-12-22 04:39 UTC, David Relson
Details
binutils build log (cross-msp430:msp430-binutils-2.21.1_p20111205:20111222-035349.log,424.19 KB, text/plain)
2011-12-22 12:34 UTC, David Relson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Relson 2011-12-22 04:33:27 UTC
"crossdev -t msp430"" successfully builds cross-msp430-binutils, but then fails on cross-msp430-gcc


Reproducible: Always

Steps to Reproduce:
1. run "crossdev -t msp430"
2.
3.
Actual Results:  
...<snip>...
 * Log: /var/log/portage/cross-msp430-msp430-binutils.log
 * Emerging cross-msp430-binutils ... [ ok ]
 * Log: /var/log/portage/cross-msp430-msp430-gcc-stage1.log
 * Emerging cross-msp430-gcc-stage1 ...
 * msp430-gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-msp430-info.log
 * /var/log/portage/cross-msp430-msp430-gcc-stage1.log
Comment 1 David Relson 2011-12-22 04:35:37 UTC
Created attachment 296617 [details]
info file
Comment 2 David Relson 2011-12-22 04:36:39 UTC
Created attachment 296619 [details]
gcc stage 1 log file
Comment 3 David Relson 2011-12-22 04:39:16 UTC
Created attachment 296621 [details]
config log file

config file is /var/tmp/portage/cross-msp430/msp430-gcc-4.6.1_p20111205/work/build/msp430/libgcc/config.log
Comment 4 Tim Harder gentoo-dev 2011-12-22 06:31:26 UTC
This looks like it may have built msp430-binutils without the msp430 specific patch applied. This could have happened if you synced within a period of time where the toolchain-binutils eclass wasn't applying the patch properly.

Try wiping the msp430 stuff with `crossdev -C msp430`, resync your portage tree, and start a new crossdev run.
Comment 5 David Relson 2011-12-22 12:34:03 UTC
Created attachment 296653 [details]
binutils build log

The build log for binutils shows multiple patches being applied.  There is a complaint about "LINGUAS en" not being supported, but the build seems OK (in spite of it).

Per suggestion the following commands have been queued:
   crossdev -C msp430
   eix-sync
   crossdev -t msp430
Comment 6 Tim Harder gentoo-dev 2011-12-22 18:18:48 UTC
(In reply to comment #5)
> Created attachment 296653 [details]
> binutils build log
> 
> The build log for binutils shows multiple patches being applied.  There is a
> complaint about "LINGUAS en" not being supported, but the build seems OK (in
> spite of it).

Then it looks like your system might not have the default profile properly selected for msp430-binutils and therefore some symlinks are missing.

You should be able to force it to update to the correct profile using a binutils-config invocation.
Comment 7 David Relson 2011-12-22 23:25:33 UTC
The "crossdev -C" ... "crossdev ..." sequence worked and I now have a running msp430-binutils and msp430-gcc

Comparing the previous and current build logs for msp430-gcc, binutils are now being found during configure.  As you suspected the first msp430-binutils didn't build properly.
Comment 8 Tim Harder gentoo-dev 2011-12-23 01:26:32 UTC
(In reply to comment #7)
> The "crossdev -C" ... "crossdev ..." sequence worked and I now have a running
> msp430-binutils and msp430-gcc
> 
> Comparing the previous and current build logs for msp430-gcc, binutils are now
> being found during configure.  As you suspected the first msp430-binutils
> didn't build properly.

Marking as fixed then.