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

Bug 212338

Summary: cross-i686-mingw32/gcc-3.3.6-r3 fails due to missing include files *and* assembler problems
Product: Gentoo Linux Reporter: Chase Venters <chase.venters>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc emerge log from first attempt
crossdev info from first attempt
gcc emerge log from second attempt
crossdev info from second attempt

Description Chase Venters 2008-03-05 01:07:18 UTC
Trying to build the i686-mingw32 cross compiler via crossdev, I encountered a pair of problems.

The first caused a cross-gcc-stage1 failure due to a number of missing header files. For example:

/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/gcc-3.3.6-r3/work/gcc-3.3.6/gcc/config/i386/cygwin.h:30:19: stdio.h: No such file or directory

I was able to hack it into a working state by creating a symlink from /usr/i686-mingw32/usr/include to /usr/i686-mingw32/include.

Once I do that, I rerun crossdev -t i686-mingw32, and after a while, I get another failure. This time, the log seems to indicate problems while running the assembler. I haven't yet figured out a hack to get past this stage.

Example errors:

/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/gcc-3.3.6-r3/temp/cchZtlK7.s: Assembler messages:
/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/gcc-3.3.6-r3/temp/cchZtlK7.s:179: Error: unknown pseudo-op: `.def'
/var/tmp/cross/i686-mingw32/portage/cross-i686-mingw32/gcc-3.3.6-r3/temp/cchZtlK7.s:179: Error: unknown pseudo-op: `.scl'


Reproducible: Always

Steps to Reproduce:
Run:

# crossdev -t i686-mingw32
Actual Results:  
 * gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-i686-mingw32-info.log
 * /var/log/portage/cross-i686-mingw32-gcc-stage1.log

Expected Results:  
Successfully emerged gcc
Comment 1 Chase Venters 2008-03-05 01:08:18 UTC
Created attachment 145317 [details]
gcc emerge log from first attempt
Comment 2 Chase Venters 2008-03-05 01:08:38 UTC
Created attachment 145319 [details]
crossdev info from first attempt
Comment 3 Chase Venters 2008-03-05 01:09:04 UTC
Created attachment 145321 [details]
gcc emerge log from second attempt
Comment 4 Chase Venters 2008-03-05 01:09:19 UTC
Created attachment 145323 [details]
crossdev info from second attempt
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 01:10:30 UTC

*** This bug has been marked as a duplicate of bug 211919 ***