* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
2019-06-18 0:21 ` cross-arm-none-eabi: missing multilib targets voidlinux-github
@ 2019-06-18 19:54 ` voidlinux-github
2019-06-19 5:43 ` voidlinux-github
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-18 19:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by teajay-fr on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-503286530
Comment:
I haven't been active for a while on this, but I'll take a look.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
2019-06-18 0:21 ` cross-arm-none-eabi: missing multilib targets voidlinux-github
2019-06-18 19:54 ` voidlinux-github
@ 2019-06-19 5:43 ` voidlinux-github
2019-06-20 7:32 ` voidlinux-github
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-19 5:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
New comment by teajay-fr on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-503414949
Comment:
From what I saw in the current package implementation, the arm compiler distribution is the gnu distribution. This distribution is not up to date regarding the arm implementation, and I would advise against using it. ARM provides a gcc distribution which I would recommend. The patch I submitted was to use the arm distribution, but another path has been chosen for void.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (2 preceding siblings ...)
2019-06-19 5:43 ` voidlinux-github
@ 2019-06-20 7:32 ` voidlinux-github
2019-06-20 8:03 ` voidlinux-github
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-20 7:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
New comment by blawiz on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-503912316
Comment:
@teajay-fr, installing from xpm worked, thanks :)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (3 preceding siblings ...)
2019-06-20 7:32 ` voidlinux-github
@ 2019-06-20 8:03 ` voidlinux-github
2019-06-22 23:15 ` voidlinux-github
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-20 8:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by sirikid on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-503922268
Comment:
I will take a look at it on Saturday
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (4 preceding siblings ...)
2019-06-20 8:03 ` voidlinux-github
@ 2019-06-22 23:15 ` voidlinux-github
2019-12-27 23:05 ` voidlinux-github
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-22 23:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by sirikid on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-504705239
Comment:
Well, crti.o is a part of libgcc, I could not build libgcc for various weird Autotools related reasons so I didn't include it in the package, that's it. If you can fix it, we will gladly accept the (small) patch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (5 preceding siblings ...)
2019-06-22 23:15 ` voidlinux-github
@ 2019-12-27 23:05 ` voidlinux-github
2020-01-04 1:21 ` voidlinux-github
2020-01-04 1:21 ` [ISSUE] [CLOSED] " voidlinux-github
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-12-27 23:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-569360998
Comment:
Related: https://github.com/void-linux/void-packages/pull/17827
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (6 preceding siblings ...)
2019-12-27 23:05 ` voidlinux-github
@ 2020-01-04 1:21 ` voidlinux-github
2020-01-04 1:21 ` [ISSUE] [CLOSED] " voidlinux-github
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-04 1:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-570744329
Comment:
Fixed in https://github.com/void-linux/void-packages/pull/17827.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ISSUE] [CLOSED] cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
` (7 preceding siblings ...)
2020-01-04 1:21 ` voidlinux-github
@ 2020-01-04 1:21 ` voidlinux-github
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2020-01-04 1:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 8874 bytes --]
Closed issue by lemmi on void-packages repository
https://github.com/void-linux/void-packages/issues/4931
Description:
I suspect that other chips are affected as well. First issue is #1824, which i think can be resolved by not stripping the libs.
### Expected behavior
Can compile for stm32.
Output of [arm binary compiler](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads):
```
/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
hard;@mfloat-abi=hard
thumb/v6-m;@mthumb@march=armv6s-m
thumb/v7-m;@mthumb@march=armv7-m
thumb/v7e-m;@mthumb@march=armv7e-m
thumb/v7-ar;@mthumb@march=armv7
thumb/v8-m.base;@mthumb@march=armv8-m.base
thumb/v8-m.main;@mthumb@march=armv8-m.main
thumb/v7e-m/fpv4-sp/softfp;@mthumb@march=armv7e-m@mfpu=fpv4-sp-d16@mfloat-abi=softfp
thumb/v7e-m/fpv4-sp/hard;@mthumb@march=armv7e-m@mfpu=fpv4-sp-d16@mfloat-abi=hard
thumb/v7e-m/fpv5/softfp;@mthumb@march=armv7e-m@mfpu=fpv5-d16@mfloat-abi=softfp
thumb/v7e-m/fpv5/hard;@mthumb@march=armv7e-m@mfpu=fpv5-d16@mfloat-abi=hard
thumb/v7-ar/fpv3/softfp;@mthumb@march=armv7@mfpu=vfpv3-d16@mfloat-abi=softfp
thumb/v7-ar/fpv3/hard;@mthumb@march=armv7@mfpu=vfpv3-d16@mfloat-abi=hard
thumb/v8-m.main/fpv5-sp/softfp;@mthumb@march=armv8-m.main@mfpu=fpv5-sp-d16@mfloat-abi=softfp
thumb/v8-m.main/fpv5-sp/hard;@mthumb@march=armv8-m.main@mfpu=fpv5-sp-d16@mfloat-abi=hard
thumb/v8-m.main/fpv5/softfp;@mthumb@march=armv8-m.main@mfpu=fpv5-d16@mfloat-abi=softfp
thumb/v8-m.main/fpv5/hard;@mthumb@march=armv8-m.main@mfpu=fpv5-d16@mfloat-abi=hard
```
### Actual behavior
```
arm-none-eabi-gcc build/main.o build/usb_device.o build/usbd_conf.o build/usbd_desc.o build/usbd_custom_hid_if.o build/stm32f3xx_it.o build/stm32f3xx_hal_msp.o build/stm32f3xx_hal_pcd.o build/stm32f3xx_hal_pcd_ex.o build/stm32f3xx_hal_i2c.o build/stm32f3xx_hal_i2c_ex.o build/stm32f3xx_hal_spi.o build/stm32f3xx_hal_spi_ex.o build/stm32f3xx_hal_tim.o build/stm32f3xx_hal_tim_ex.o build/stm32f3xx_hal.o build/stm32f3xx_hal_rcc.o build/stm32f3xx_hal_rcc_ex.o build/stm32f3xx_hal_gpio.o build/stm32f3xx_hal_dma.o build/stm32f3xx_hal_cortex.o build/stm32f3xx_hal_pwr.o build/stm32f3xx_hal_pwr_ex.o build/stm32f3xx_hal_flash.o build/stm32f3xx_hal_flash_ex.o build/system_stm32f3xx.o build/usbd_core.o build/usbd_ctlreq.o build/usbd_ioreq.o build/usbd_customhid.o build/startup_stm32f303xc.o -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nano.specs -TSTM32F303VCTx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/kbdf3.map,--cref -Wl,--gc-sections -o build/kbdf3.elf
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a: error adding symbols: archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [Makefile:180: build/kbdf3.elf] Error 1
```
Without stripped libs: (removed https://github.com/void-linux/void-packages/blob/master/srcpkgs/cross-arm-none-eabi/template#L351-L352)
```
arm-none-eabi-gcc build/main.o build/usb_device.o build/usbd_conf.o build/usbd_desc.o build/usbd_custom_hid_if.o build/stm32f3xx_it.o build/stm32f3xx_hal_msp.o build/stm32f3xx_hal_pcd.o build/stm32f3xx_hal_pcd_ex.o build/stm32f3xx_hal_i2c.o build/stm32f3xx_hal_i2c_ex.o build/stm32f3xx_hal_spi.o build/stm32f3xx_hal_spi_ex.o build/stm32f3xx_hal_tim.o build/stm32f3xx_hal_tim_ex.o build/stm32f3xx_hal.o build/stm32f3xx_hal_rcc.o build/stm32f3xx_hal_rcc_ex.o build/stm32f3xx_hal_gpio.o build/stm32f3xx_hal_dma.o build/stm32f3xx_hal_cortex.o build/stm32f3xx_hal_pwr.o build/stm32f3xx_hal_pwr_ex.o build/stm32f3xx_hal_flash.o build/stm32f3xx_hal_flash_ex.o build/system_stm32f3xx.o build/usbd_core.o build/usbd_ctlreq.o build/usbd_ioreq.o build/usbd_customhid.o build/startup_stm32f303xc.o -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nano.specs -TSTM32F303VCTx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/kbdf3.map,--cref -Wl,--gc-sections -o build/kbdf3.elf
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/crt0.o: Conflicting CPU architectures 13/0
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/crt0.o
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-atexit.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-atexit.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-exit.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-exit.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-fini.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-fini.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-impure.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-impure.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-init.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-init.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-memset.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-memset.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-__atexit.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-__atexit.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-__call_atexit.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libc_nano.a(lib_a-__call_atexit.o)
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: error: build/kbdf3.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libnosys.a(_exit.o) does not
/usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/7.3.0/../../../../arm-none-eabi/lib/libnosys.a(_exit.o)
collect2: error: ld returned 1 exit status
```
```
$ arm-none-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
fpu;@mfloat-abi=hard
armv6-m;@mthumb@march=armv6s-m
armv7-m;@mthumb@march=armv7-m
armv7e-m;@mthumb@march=armv7e-m
armv7-ar/thumb;@mthumb@march=armv7
armv7e-m/softfp;@mthumb@march=armv7e-m@mfloat-abi=softfp@mfpu=fpv4-sp-d16
armv7e-m/fpu;@mthumb@march=armv7e-m@mfloat-abi=hard@mfpu=fpv4-sp-d16
armv7-ar/thumb/softfp;@mthumb@march=armv7@mfloat-abi=softfp@mfpu=vfpv3-d16
armv7-ar/thumb/fpu;@mthumb@march=armv7@mfloat-abi=hard@mfpu=vfpv3-d16
```
### Steps to reproduce the behavior
Generate any project with `STM32CubeMX` and `make`.
@teajay-fr
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cross-arm-none-eabi: missing multilib targets
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
@ 2019-06-18 0:21 ` voidlinux-github
2019-06-18 19:54 ` voidlinux-github
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-18 0:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
New comment by blawiz on void-packages repository
https://github.com/void-linux/void-packages/issues/4931#issuecomment-502897660
Comment:
Hope it's ok I contact you here @teajay-fr , I made an issue on the qmk project, but later thought it might have something to do with a problem with this or similar void package, can you take a look: https://github.com/qmk/qmk_firmware/issues/6145
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-01-04 1:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-4931@inbox.vuxu.org>
2019-06-18 0:21 ` cross-arm-none-eabi: missing multilib targets voidlinux-github
2019-06-18 19:54 ` voidlinux-github
2019-06-19 5:43 ` voidlinux-github
2019-06-20 7:32 ` voidlinux-github
2019-06-20 8:03 ` voidlinux-github
2019-06-22 23:15 ` voidlinux-github
2019-12-27 23:05 ` voidlinux-github
2020-01-04 1:21 ` voidlinux-github
2020-01-04 1:21 ` [ISSUE] [CLOSED] " voidlinux-github
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).