* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
@ 2023-10-14 8:04 ` classabbyamp
2023-10-14 8:05 ` SpidFightFR
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: classabbyamp @ 2023-10-14 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762707741
Comment:
cc @sgn
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
2023-10-14 8:04 ` classabbyamp
@ 2023-10-14 8:05 ` SpidFightFR
2023-10-14 8:34 ` sgn
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-14 8:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762708212
Comment:
see the [workflows](https://github.com/void-linux/void-packages/actions/runs/6516336467?pr=46172) for more details
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
2023-10-14 8:04 ` classabbyamp
2023-10-14 8:05 ` SpidFightFR
@ 2023-10-14 8:34 ` sgn
2023-10-14 10:08 ` Johnnynator
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2023-10-14 8:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762741082
Comment:
Does it work before modification?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (2 preceding siblings ...)
2023-10-14 8:34 ` sgn
@ 2023-10-14 10:08 ` Johnnynator
2023-10-14 11:27 ` SpidFightFR
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Johnnynator @ 2023-10-14 10:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762784863
Comment:
This failure was to be expected. #46635 only allows to remove some of the sed in the `post_configure` of mesa, the `regenerate` hack I suggested and sed of linking arguments are still needed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (3 preceding siblings ...)
2023-10-14 10:08 ` Johnnynator
@ 2023-10-14 11:27 ` SpidFightFR
2023-10-14 11:27 ` SpidFightFR
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-14 11:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762826024
Comment:
> Does it work before modification?
Yes it used to build everywhere except i686 initially. Now everything aarch64 or arm doesn't work.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (4 preceding siblings ...)
2023-10-14 11:27 ` SpidFightFR
@ 2023-10-14 11:27 ` SpidFightFR
2023-10-16 12:21 ` SpidFightFR
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-14 11:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1762827103
Comment:
> This failure was to be expected. #46635 only allows to remove some of the sed in the `post_configure` of mesa, the `regenerate` hack I suggested and sed of linking arguments are still needed.
Should i re-add the line you suggested into the template, even with the PR being merged?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (5 preceding siblings ...)
2023-10-14 11:27 ` SpidFightFR
@ 2023-10-16 12:21 ` SpidFightFR
2023-10-16 19:43 ` Building mesa on arm and aarch64 platforms fail SpidFightFR
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-16 12:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1764357981
Comment:
> This failure was to be expected. #46635 only allows to remove some of the sed in the `post_configure` of mesa, the `regenerate` hack I suggested and sed of linking arguments are still needed.
I will try to re-add your hack, but atm i have a ton of work on my personal side, so i want to apologize for keeping you waiting
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (6 preceding siblings ...)
2023-10-16 12:21 ` SpidFightFR
@ 2023-10-16 19:43 ` SpidFightFR
2023-10-24 2:02 ` zlice
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-16 19:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1765160277
Comment:
alright, i removed the unnecessary lines in post-config, but the builds still fail. Any ideas, lads ? https://github.com/void-linux/void-packages/pull/46172#issuecomment-1765047448
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (7 preceding siblings ...)
2023-10-16 19:43 ` Building mesa on arm and aarch64 platforms fail SpidFightFR
@ 2023-10-24 2:02 ` zlice
2023-10-26 13:03 ` SpidFightFR
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: zlice @ 2023-10-24 2:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1776369283
Comment:
https://github.com/void-linux/void-packages/pull/46850 and https://github.com/void-linux/void-packages/pull/46851 seem related. 32bit arm builds have lib64 dir for some reason. Previous qt6ct-0.8 fails the same way with current build packages.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (8 preceding siblings ...)
2023-10-24 2:02 ` zlice
@ 2023-10-26 13:03 ` SpidFightFR
2023-11-03 16:10 ` mhmdanas
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-10-26 13:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1781082678
Comment:
> #46850 and #46851 seem related. 32bit arm builds have lib64 dir for some reason. Previous qt6ct-0.8 fails the same way with current build packages.
it seems a bit different for you, on my side, it's the whole aarch64 and ARM that fails for me, for you, it's only ARM.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (9 preceding siblings ...)
2023-10-26 13:03 ` SpidFightFR
@ 2023-11-03 16:10 ` mhmdanas
2023-11-03 18:59 ` [ISSUE] [CLOSED] " SpidFightFR
2023-11-03 18:59 ` SpidFightFR
12 siblings, 0 replies; 14+ messages in thread
From: mhmdanas @ 2023-11-03 16:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
New comment by mhmdanas on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1792720260
Comment:
I think this is fixed now?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [ISSUE] [CLOSED] Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (10 preceding siblings ...)
2023-11-03 16:10 ` mhmdanas
@ 2023-11-03 18:59 ` SpidFightFR
2023-11-03 18:59 ` SpidFightFR
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-11-03 18:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2780 bytes --]
Closed issue by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674
Description:
Discussed here https://github.com/void-linux/void-packages/pull/46635
Now mesa builds work for both musl and glibc, even i686, yet it seems the modifications have brought a new issue to #46172:
<details><summary>Error when building for arm and aarch64 platforms</summary>
```
[2474/2653] Linking target src/gallium/targets/opencl/libMesaOpenCL.so.1.0.0
FAILED: src/gallium/targets/opencl/libMesaOpenCL.so.1.0.0
aarch64-linux-gnu-c++ -o src/gallium/targets/opencl/libMesaOpenCL.so.1.0.0 -L/usr/aarch64-linux-gnu/usr/lib -I/usr/aarch64-linux-gnu/usr/include -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libMesaOpenCL.so.1 -Wl,--whole-archive src/gallium/frontends/clover/libclover.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -ffile-prefix-map=/builddir/mesa-23.1.9/build=. -Wl,-rpath,/usr/aarch64-linux-gnu/usr/lib64:/usr/lib -Wl,-rpath-link,/usr/aarch64-linux-gnu/usr/lib64 -Wl,-rpath-link,/usr/lib src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.a src/loader/libloader.a src/util/libxmlconfig.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/util/libmesa_util_sse41.a src/c11/impl/libmesa_util_c11.a src/gallium/auxiliary/libgallium.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/frontends/clover/libclllvm.a src/gallium/frontends/clover/libclspirv.a src/gallium/frontends/clover/libclnir.a -Wl,--gc-sections -Wl,--version-script /builddir/mesa-23.1.9/src/gallium/targets/opencl/opencl.sym /usr/aarch64-linux-gnu/usr/lib/libz.so -pthread -lm /usr/aarch64-linux-gnu/usr/lib/libzstd.so /usr/aarch64-linux-gnu/usr/lib64/libelf.so /usr/lib/libclang-cpp.so /usr/aarch64-linux-gnu/usr/lib64/libdrm.so /usr/aarch64-linux-gnu/usr/lib64/libexpat.so /usr/aarch64-linux-gnu/usr/lib64/libxcb-randr.so -L/usr/lib -lLLVM-15 -lsensors -L/usr/lib -lLLVM-15 /usr/aarch64-linux-gnu/usr/lib/libLLVMSPIRVLib.so /usr/aarch64-linux-gnu/usr/lib64/libSPIRV-Tools-opt.a /usr/aarch64-linux-gnu/usr/lib64/libSPIRV-Tools.a /usr/aarch64-linux-gnu/usr/lib64/libSPIRV-Tools-link.a -Wl,--end-group
[cc-wrapper] ignoring -L/usr/lib
[cc-wrapper] ignoring -L/usr/lib
/usr/lib/gcc/aarch64-linux-gnu/12.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libclang-cpp.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
[2475/2653] Generating src/gallium/frontends/rusticl/rustmod-bindgen-rusticl_opencl_bindings.h with a custom command
ninja: build stopped: subcommand failed.
```
</details>
Is there some kind of patch i can try to make for it to work ?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Building mesa on arm and aarch64 platforms fail
2023-10-14 8:02 [ISSUE] Building mesa on arm and aarch64 platforms fail since wrappers/cross-cc modifications SpidFightFR
` (11 preceding siblings ...)
2023-11-03 18:59 ` [ISSUE] [CLOSED] " SpidFightFR
@ 2023-11-03 18:59 ` SpidFightFR
12 siblings, 0 replies; 14+ messages in thread
From: SpidFightFR @ 2023-11-03 18:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New comment by SpidFightFR on void-packages repository
https://github.com/void-linux/void-packages/issues/46674#issuecomment-1792963241
Comment:
My apologies, it is fixed. I will close this issue now.
^ permalink raw reply [flat|nested] 14+ messages in thread