Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] GCC cannot compile 32 bit programs even with libgcc-32bit installed
@ 2020-08-14  9:38 0syf3r
  2020-08-14 10:42 ` Duncaen
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: 0syf3r @ 2020-08-14  9:38 UTC (permalink / raw)
  To: ml

[-- 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`


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-08-14 12:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14  9:38 [ISSUE] GCC cannot compile 32 bit programs even with libgcc-32bit installed 0syf3r
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

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).