Opened 16 months ago

Last modified 10 months ago

#66634 assigned defect

simde fails to build on 10.6.8

Reported by: barracuda156 Owned by: jasonliu-- (Jason Liu)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard, rosetta, powerpc Cc:
Port: simde

Description

The port is broken on Rosetta, and likely on <10.7 in general.

  1. Old Apple gcc is not supported: https://github.com/simd-everywhere/simde

Should be added to blacklist.

  1. Even with gcc12 it still fails on Rosetta with numerous errors. Logs attached.

Attachments (2)

simde_gcc42.txt (985.2 KB) - added by barracuda156 16 months ago.
simde_gcc12.txt (562.9 KB) - added by barracuda156 16 months ago.

Download all attachments as: .zip

Change History (8)

Changed 16 months ago by barracuda156

Attachment: simde_gcc42.txt added

Changed 16 months ago by barracuda156

Attachment: simde_gcc12.txt added

comment:1 Changed 16 months ago by kencu (Ken)

all these PRId8 etc are fixed by adding those stdc format macros, etc, as you recall from that port a few months ago we fixed w catap.

add those defs, then see where you get.

comment:2 in reply to:  1 Changed 16 months ago by barracuda156

Replying to kencu:

all these PRId8 etc are fixed by adding those stdc format macros, etc, as you recall from that port a few months ago we fixed w catap.

add those defs, then see where you get.

Added the flag, build is running, so far promising. If succeeds, gonna make a PR. Thank you!

comment:3 Changed 16 months ago by barracuda156

UPD. Failed eventually on:

[638/1748] /opt/local/bin/gcc-mp-12  -o test/x86/sse2-emul-c test/x86/sse2-emul-c.p/sse2.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc -D__STDC_FORMAT_MACROS -lm
FAILED: test/x86/sse2-emul-c 
/opt/local/bin/gcc-mp-12  -o test/x86/sse2-emul-c test/x86/sse2-emul-c.p/sse2.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc -D__STDC_FORMAT_MACROS -lm
Undefined symbols:
  "_roundevenf", referenced from:
      _test_simde_mm_cvtps_epi32 in sse2.c.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status

comment:4 Changed 10 months ago by jasonliu-- (Jason Liu)

Hi barracuda156, any update on this? I don't have access to 10.6, so I have no way of trying to troubleshoot this issue.

comment:5 Changed 10 months ago by kencu (Ken)

not likely an sse test would work out when building for ppc…

comment:6 in reply to:  5 Changed 10 months ago by barracuda156

Replying to kencu:

not likely an sse test would work out when building for ppc…

Ahaha, fair enough. Perhaps should be patched to exclude it on ppc and aarch64.

Note: See TracTickets for help on using tickets.