Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21813 - [multilib/lib32-gcc-libs] Shouldn't it include libgcc.a?

Attached to Project: Community Packages
Opened by Olivier Mehani (shtrom) - Wednesday, 24 November 2010, 10:03 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 24 November 2010, 12:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When building some 32 bit programs on an x86_64 system (namely, Android images based on the AUR android-sdk package), the following error occurs.

host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] Error 1

Only the 64 bit version of libgcc.a is found. It comes with gcc-4.5.1-1. For the sake of completeness, shouldn't libgcc.a for 32 bit platforms come with lib32-gcc-libs?

Additional info:
* local/gcc-libs 4.5.1-1 (base)
* local/lib32-gcc-libs 4.5.1-7
(Example:
* local/repo-git 20101124-1
* local/android-sdk r07-1
)

Steps to reproduce:
* Install repo-git and android-sdk from AUR on an x86_64 machine (changing python calls to use pyton2 when there are failing scripts)
* repo init -u git://android.git.kernel.org/platform/manifest.git; repo sync
* make
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 24 November 2010, 12:24 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Wednesday, 24 November 2010, 12:02 GMT
pacman -S gcc-multilib

Loading...