From: 0syf3r <0syf3r@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] GCC cannot compile 32 bit programs even with libgcc-32bit installed
Date: Fri, 14 Aug 2020 11:38:14 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24270@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
New issue by 0syf3r on void-packages repository
https://github.com/void-linux/void-packages/issues/24270
Description:
### System
* xuname:
*Void 5.7.12_1 x86_64 GenuineIntel notuptodate rrmFF*
* package:
*libgcc-32bit-9.3.0_6*
### Expected behavior
`gcc -m32` works.
### Actual behavior
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/libgcc.a when searching for -lgcc
/bin/ld: cannot find -lgcc
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/libgcc.a when searching for -lgcc
/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
### Steps to reproduce the behavior
Create test.c:
```
int main() { return 0; }
```
Run
`gcc test.c -o test -m32`
next reply other threads:[~2020-08-14 9:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-14 9:38 0syf3r [this message]
2020-08-14 10:42 ` Duncaen
2020-08-14 11:58 ` 0syf3r
2020-08-14 12:00 ` 0syf3r
2020-08-14 12:03 ` ericonr
2020-08-14 12:04 ` Duncaen
2020-08-14 12:04 ` Duncaen
2020-08-14 12:04 ` ericonr
2020-08-14 12:05 ` ericonr
2020-08-14 12:06 ` Duncaen
2020-08-14 12:07 ` [ISSUE] [CLOSED] " 0syf3r
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24270@inbox.vuxu.org \
--to=0syf3r@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).