You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org> on 2009/09/26 01:36:16 UTC

[jira] Updated: (INFRA-2077) 32-bit gcc broken on minotaur

     [ https://issues.apache.org/jira/browse/INFRA-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot updated INFRA-2077:
-------------------------------------

    Assignee: Philip M. Gollucci

> 32-bit gcc broken on minotaur
> -----------------------------
>
>                 Key: INFRA-2077
>                 URL: https://issues.apache.org/jira/browse/INFRA-2077
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Martin Sebor
>            Assignee: Philip M. Gollucci
>
> The gcc installed on minotaur can successfully generate 64-bit binaries but when invoked with the -m32 option to generate 32-bit code the linker fails to find the corresponding 32-bit libgcc.so (see below). It appears as though the compiler driver doesn't pass -L/usr/lib32 (the location of the 32-bit libgcc) to the linker. Unfortunately, specifying -L/usr/lib32 manually gives the error: /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc.
> $ uname -n && echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc -m32 t.c
> minotaur.apache.org
>   -m32                        Generate 32bit i386 code
> /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc
> /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc
> /usr/bin/ld: cannot find -lgcc

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.