Re: pixman 0.42.2-1 failing to build on Apple Silicon
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 4/11/23 5:51 PM, Sean Case wrote: > 2020 M1 mini, macOS 13.3.1. Running the dpkg1.16 branch of fink. > > Package manager version: 0.45.99.git > Distribution version: selfupdate-rsync Wed Apr 12 07:27:55 2023, 13.0, arm64 > Trees: local/main stable/main > Xcode.app: 14.3 Xcode command-line tools: 14.3.0.0.1.1679647830 > Max. Fink build jobs: 1 > > The assembler just doesn't seem to like the source provided. > > % grep -c error: logfile > 199211 > > That seems like a lot. > > Here is where it starts to go off the rails: > >> CC pixman-trap.lo >> CC pixman-utils.lo >> CC pixman-arm-neon.lo >> CPPAS pixman-arma64-neon-asm.lo >> <instantiation>:1:1: error: unknown directive >> .func fname >> ^ >> <instantiation>:2:5: note: while in macro instantiation >> pixman_asm_function fname >> ^ >> pixman-arma64-neon-asm.S:366:1: note: while in macro instantiation >> generate_composite_function pixman_composite_over_8888_0565_asm_neon, 32, 0, 16, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init, default_cleanup, pixman_composite_over_8888_0565_process_pixblock_head, pixman_composite_over_8888_0565_process_pixblock_tail, pixman_composite_over_8888_0565_process_pixblock_tail_head, 28, 4, 0, 24 >> ^ >> <instantiation>:27:5: error: expected absolute expression >> .if prefetch_distance == 0 >> ^ >> pixman-arma64-neon-asm.S:366:1: note: while in macro instantiation >> generate_composite_function pixman_composite_over_8888_0565_asm_neon, 32, 0, 16, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init, default_cleanup, pixman_composite_over_8888_0565_process_pixblock_head, pixman_composite_over_8888_0565_process_pixblock_tail, pixman_composite_over_8888_0565_process_pixblock_tail_head, 28, 4, 0, 24 >> ^ >> <instantiation>:29:9: error: expected absolute expression >> .elseif (PREFETCH_TYPE_CURRENT > PREFETCH_TYPE_SIMPLE) && ((src_bpp_ == 24) || (mask_bpp_ == 24) || (dst_w_bpp_ == 24)) >> ^ >> pixman-arma64-neon-asm.S:366:1: note: while in macro instantiation >> generate_composite_function pixman_composite_over_8888_0565_asm_neon, 32, 0, 16, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init, default_cleanup, pixman_composite_over_8888_0565_process_pixblock_head, pixman_composite_over_8888_0565_process_pixblock_tail, pixman_composite_over_8888_0565_process_pixblock_tail_head, 28, 4, 0, 24 >> ^ According to these two upstream reports https://gitlab.freedesktop.org/pixman/pixman/-/issues/69 https://gitlab.freedesktop.org/pixman/pixman/-/issues/59 try adding `--disable-arm-a64-neon` to ConfigureParams in pixman.info. The final fix needs to be conditionalized for Apple Silicon installs, but this will tell us if that parameter is sufficient. Hanspeter -- Organic chemistry is the study of carbon compounds. Biochemistry is the study of carbon compounds that crawl. --Mike Adams _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users