Changes between Version 1 and Version 4 of Ticket #60232
- Timestamp:
- Mar 24, 2020, 3:48:15 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60232
-
Property
Status
changed from
new
toassigned
- Property Owner set to dbevans
-
Property
Status
changed from
-
Ticket #60232 – Description
v1 v4 1 1 Under Mac OS 10.13 and 10.11, while configuring `gdk-pixbuf2` @2.40.0_1 with `+universal` variant set, the build tool `meson` tries to detect the libraries JPEG and jasper by launching clang on a minimal C program involving only proprocessor directives: 2 2 3 `Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build 3 {{{ 4 Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build 4 5 /_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_po 5 6 rts_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/meson-private/tmp9kj3a3pw/testfi 6 le.c -pipe -E -P -Os -arch x86_64 -arch i386 -P -O0 -std=c99` 7 le.c -pipe -E -P -Os -arch x86_64 -arch i386 -P -O0 -std=c99 8 }}} 7 9 8 10 Since clang is launched with the flags `-E -arch x86_64 -arch i386`, it fails with message `clang: error: cannot use 'cpp-output' output with multiple -arch options` and meson concludes erroneously that the jpeg library is absent.