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

Bug 271788

Summary: cross-i686-mingw32/w32api-3.13 is missing lib symlink on amd64
Product: Gentoo Linux Reporter: emerald <dirk>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: w32api file list
emerge --info

Description emerald 2009-05-29 16:50:06 UTC
mingw-runtime static libs are installed into
/usr/i686-mingw32/usr/lib64/
while the
/usr/i686-mingw32/usr/lib/ symlink is missing, which prevents mingw-runtime to 
be installed because of missing user32 library:

i686-mingw32-gcc -B./ -shared  -Wl,--image-base,0x6FBC0000 
-Wl,--entry,_DllMainCRTStartup@12 mthr.o mthr_init.o mingwthrd.def -Lmingwex -o 
mingwm10.dll
/usr/libexec/gcc/i686-mingw32/ld: cannot find -luser32
collect2: ld returned 1 exit status

linking lib -> lib64 allows mingw-runtime to be built and installed.
Comment 1 emerald 2009-05-29 16:51:13 UTC
Created attachment 192898 [details]
w32api file list
Comment 2 emerald 2009-05-29 16:55:08 UTC
Created attachment 192899 [details]
emerge --info
Comment 3 keenblade 2009-05-30 10:31:01 UTC
Also the missing /usr/i686-mingw32/usr/lib/ symlink prevents emerging cross-i686-mingw32/gcc. Creating the missing symlink it compiles fine.
Comment 4 SpanKY gentoo-dev 2009-06-01 04:47:23 UTC
did you upgrade the package using emerge or did you install it with crossdev ?
Comment 5 emerald 2009-06-01 09:18:24 UTC
upgraded via emerge -uND world
Comment 6 SpanKY gentoo-dev 2009-06-01 23:20:23 UTC

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