Re: 1.5 on os x?
Scott Brown <[email protected]> Thu, 20 Feb 2025 21:40:12 -0500
| Newsgroups | gmane.comp.audio.compression.flac.devel |
|---|---|
| Message-ID | <CANJq19LRU6AbMNq5YxkKo8Hs-PrXg5kh=SB+DukPtQOpDJ3cig@mail.gmail.com> |
--===============0802397973816869302== Content-Type: multipart/alternative; boundary="000000000000d7493d062e9de955" --000000000000d7493d062e9de955 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have it building on OS X now. I used the following to build for universal 64 bit intel/arm ./configure -enable-static -disable-shared CFLAGS=3D" -arch arm64 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develo= per/SDKs/MacOSX.sdk -mmacosx-version-min=3D10.9 -O3" On Tue, Feb 18, 2025 at 9:29=E2=80=AFAM Scott Brown <[email protected]>= wrote: > Hi everyone, > > I just grabbed the 1.5 source to build on os x (I'm on 15.3.1). > > Has anyone been able to build it from source on the latest os x? I'm > getting errors > > configure: > /configure -enable-static -disable-shared > > Configuration summary : > > FLAC version : ............................ 1.5.0 > > Host CPU : ................................ aarch64 > Host Vendor : ............................. apple > Host OS : ................................. darwin24.3.0 > > > Compiler is GCC : ......................... no > Compiler is Clang : ....................... yes > Asm optimizations : ....................... yes > Ogg/FLAC support : ........................ no > Multithreading : ........................ yes > Stack protector : ........................ no > Fuzzing support (Clang only) : ............ no > > > I wasn't sure what flags I might need on os x to get around the below > errors > > Thanks, > Scott > > make output: > > > In file included from lpc_intrin_neon.c:42: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctool= chain/usr/lib/clang/16/include/arm_neon.h:28:2: > error: "NEON intrinsics not available with the soft-float ABI. Please use > -mfloat-abi=3Dsoftfp or -mfloat-abi=3Dhard" > 28 | #error "NEON intrinsics not available with the soft-float ABI. > Please use -mfloat-abi=3Dsoftfp or -mfloat-abi=3Dhard" > | ^ > In file included from lpc_intrin_neon.c:49: > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:2:2: error: use > of undeclared identifier 'float64x2_t' > 2 | float64x2_t sum0 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:3:2: error: use > of undeclared identifier 'float64x2_t' > 3 | float64x2_t sum1 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:4:2: error: use > of undeclared identifier 'float64x2_t' > 4 | float64x2_t sum2 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:5:2: error: use > of undeclared identifier 'float64x2_t' > 5 | float64x2_t sum3 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:6:2: error: use > of undeclared identifier 'float64x2_t' > 6 | float64x2_t d0 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:7:2: error: use > of undeclared identifier 'float64x2_t' > 7 | float64x2_t d1 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:8:2: error: use > of undeclared identifier 'float64x2_t' > 8 | float64x2_t d2 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:9:2: error: use > of undeclared identifier 'float64x2_t' > 9 | float64x2_t d3 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:11:2: error: us= e > of undeclared identifier 'float64x2_t' > 11 | float64x2_t sum4 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:12:2: error: us= e > of undeclared identifier 'float64x2_t' > 12 | float64x2_t d4 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:15:2: error: us= e > of undeclared identifier 'float64x2_t' > 15 | float64x2_t sum5 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:16:2: error: us= e > of undeclared identifier 'float64x2_t' > 16 | float64x2_t sum6 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:17:2: error: us= e > of undeclared identifier 'float64x2_t' > 17 | float64x2_t d5 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:18:2: error: us= e > of undeclared identifier 'float64x2_t' > 18 | float64x2_t d6 =3D vdupq_n_f64(0.0f); > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:20:2: error: us= e > of undeclared identifier 'float64x2_t' > 20 | float64x2_t d; > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:28:3: error: us= e > of undeclared identifier 'd' > 28 | d =3D vdupq_n_f64(data[i]); // Create vector with= 2 > entries data[i] > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:28:7: error: > call to undeclared function 'vdupq_n_f64'; ISO C99 and later do not suppo= rt > implicit function declarations [-Wimplicit-function-declaration] > 28 | d =3D vdupq_n_f64(data[i]); // Create vector with= 2 > entries data[i] > | ^ > ./deduplication/lpc_compute_autocorrelation_intrin_neon.c:34:3: error: us= e > of undeclared identifier 'd6' > 34 | d6 =3D vextq_f64(d5,d6,1); > | ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > > > > --000000000000d7493d062e9de955 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:arial,sans-serif">I have it building on OS X now.</div><div class= =3D"gmail_default" style=3D"font-family:arial,sans-serif"><br></div><div cl= ass=3D"gmail_default" style=3D"font-family:arial,sans-serif">I used the fol= lowing to build for universal 64 bit intel/arm</div><div class=3D"gmail_def= ault" style=3D"font-family:arial,sans-serif"><br></div><div class=3D"gmail_= default" style=3D"font-family:arial,sans-serif">./configure -enable-static = -disable-shared CFLAGS=3D" -arch arm64 -arch x86_64 -isysroot /Applica= tions/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs= /MacOSX.sdk -mmacosx-version-min=3D10.9 -O3"<br></div><div class=3D"gm= ail_default" style=3D"font-family:arial,sans-serif"><br></div></div><br><di= v class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gma= il_attr">On Tue, Feb 18, 2025 at 9:29=E2=80=AFAM Scott Brown <<a href=3D= "mailto:[email protected]">[email protected]</a>> wrote:<br></di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204)= ;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:arial,sans-se= rif">Hi everyone,</div><div style=3D"font-family:arial,sans-serif"><br></di= v><div style=3D"font-family:arial,sans-serif">I just grabbed=C2=A0the 1.5 s= ource to build on os x (I'm on 15.3.1).=C2=A0</div><div style=3D"font-f= amily:arial,sans-serif"><br></div><div style=3D"font-family:arial,sans-seri= f"><div>Has anyone been able to build it from source on the latest os x? I&= #39;m getting errors</div><br></div><div style=3D"font-family:arial,sans-se= rif">configure:</div><div style=3D"font-family:arial,sans-serif">/configure= -enable-static -disable-shared <br><br>Configuration summary :<br><br>=C2= =A0 =C2=A0 FLAC version : ............................ 1.5.0<br><br>=C2=A0 = =C2=A0 Host CPU : ................................ aarch64<br>=C2=A0 =C2=A0= Host Vendor : ............................. apple<br>=C2=A0 =C2=A0 Host OS= : ................................. darwin24.3.0<br><br><br>=C2=A0 =C2=A0 = Compiler is GCC : ......................... no<br>=C2=A0 =C2=A0 Compiler is= Clang : ....................... yes<br>=C2=A0 =C2=A0 Asm optimizations : .= ...................... yes<br>=C2=A0 =C2=A0 Ogg/FLAC support : ............= ............ no<br>=C2=A0 =C2=A0 Multithreading =C2=A0 : ..................= ...... yes<br>=C2=A0 =C2=A0 Stack protector =C2=A0: .......................= . no<br>=C2=A0 =C2=A0 Fuzzing support (Clang only) : ............ no<br></d= iv><div style=3D"font-family:arial,sans-serif"><br></div><div style=3D"font= -family:arial,sans-serif"><br></div><div style=3D"font-family:arial,sans-se= rif">I wasn't sure what flags I might need on os x to get around the be= low errors</div><div style=3D"font-family:arial,sans-serif"><br></div><div = style=3D"font-family:arial,sans-serif">Thanks,</div><div style=3D"font-fami= ly:arial,sans-serif">Scott</div><div style=3D"font-family:arial,sans-serif"= ><br></div><div style=3D"font-family:arial,sans-serif">make output:</div><d= iv style=3D"font-family:arial,sans-serif"><br></div><div style=3D"font-fami= ly:arial,sans-serif"><br></div><div style=3D"font-family:arial,sans-serif">= In file included from lpc_intrin_neon.c:42:<br>/Applications/Xcode.app/Cont= ents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include= /arm_neon.h:28:2: error: "NEON intrinsics not available with the soft-= float ABI. Please use -mfloat-abi=3Dsoftfp or -mfloat-abi=3Dhard"<br>= =C2=A0 =C2=A028 | #error "NEON intrinsics not available with the soft-= float ABI. Please use -mfloat-abi=3Dsoftfp or -mfloat-abi=3Dhard"<br>= =C2=A0 =C2=A0 =C2=A0 | =C2=A0^<br>In file included from lpc_intrin_neon.c:4= 9:<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:2:2: error:= use of undeclared identifier 'float64x2_t'<br>=C2=A0 =C2=A0 2 | = =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t sum0 =3D vdupq_n_f64(0.0f);<br>=C2= =A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_co= mpute_autocorrelation_intrin_neon.c:3:2: error: use of undeclared identifie= r 'float64x2_t'<br>=C2=A0 =C2=A0 3 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 fl= oat64x2_t sum1 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelation_intrin_n= eon.c:4:2: error: use of undeclared identifier 'float64x2_t'<br>=C2= =A0 =C2=A0 4 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t sum2 =3D vdupq_n_f64= (0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./dedupl= ication/lpc_compute_autocorrelation_intrin_neon.c:5:2: error: use of undecl= ared identifier 'float64x2_t'<br>=C2=A0 =C2=A0 5 | =C2=A0 =C2=A0 = =C2=A0 =C2=A0 float64x2_t sum3 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2= =A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorr= elation_intrin_neon.c:6:2: error: use of undeclared identifier 'float64= x2_t'<br>=C2=A0 =C2=A0 6 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d0 = =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:7:2: err= or: use of undeclared identifier 'float64x2_t'<br>=C2=A0 =C2=A0 7 |= =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d1 =3D vdupq_n_f64(0.0f);<br>=C2= =A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_co= mpute_autocorrelation_intrin_neon.c:8:2: error: use of undeclared identifie= r 'float64x2_t'<br>=C2=A0 =C2=A0 8 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 fl= oat64x2_t d2 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0= =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon= .c:9:2: error: use of undeclared identifier 'float64x2_t'<br>=C2=A0= =C2=A0 9 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d3 =3D vdupq_n_f64(0.0f= );<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplicati= on/lpc_compute_autocorrelation_intrin_neon.c:11:2: error: use of undeclared= identifier 'float64x2_t'<br>=C2=A0 =C2=A011 | =C2=A0 =C2=A0 =C2=A0= =C2=A0 float64x2_t sum4 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelatio= n_intrin_neon.c:12:2: error: use of undeclared identifier 'float64x2_t&= #39;<br>=C2=A0 =C2=A012 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d4 =3D vd= upq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br= >./deduplication/lpc_compute_autocorrelation_intrin_neon.c:15:2: error: use= of undeclared identifier 'float64x2_t'<br>=C2=A0 =C2=A015 | =C2=A0= =C2=A0 =C2=A0 =C2=A0 float64x2_t sum5 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2= =A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_a= utocorrelation_intrin_neon.c:16:2: error: use of undeclared identifier '= ;float64x2_t'<br>=C2=A0 =C2=A016 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x= 2_t sum6 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:1= 7:2: error: use of undeclared identifier 'float64x2_t'<br>=C2=A0 = =C2=A017 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d5 =3D vdupq_n_f64(0.0f)= ;<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplicatio= n/lpc_compute_autocorrelation_intrin_neon.c:18:2: error: use of undeclared = identifier 'float64x2_t'<br>=C2=A0 =C2=A018 | =C2=A0 =C2=A0 =C2=A0 = =C2=A0 float64x2_t d6 =3D vdupq_n_f64(0.0f);<br>=C2=A0 =C2=A0 =C2=A0 | =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelation_i= ntrin_neon.c:20:2: error: use of undeclared identifier 'float64x2_t'= ;<br>=C2=A0 =C2=A020 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 float64x2_t d;<br>=C2=A0= =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compu= te_autocorrelation_intrin_neon.c:28:3: error: use of undeclared identifier = 'd'<br>=C2=A0 =C2=A028 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 d =3D vdupq_n_f64(data[i]); // Create vector with 2 entries d= ata[i]<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.= c:28:7: error: call to undeclared function 'vdupq_n_f64'; ISO C99 a= nd later do not support implicit function declarations [-Wimplicit-function= -declaration]<br>=C2=A0 =C2=A028 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 d =3D vdupq_n_f64(data[i]); // Create vector with 2 entri= es data[i]<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>./deduplication/lpc_compute_autocorrel= ation_intrin_neon.c:34:3: error: use of undeclared identifier 'd6'<= br>=C2=A0 =C2=A034 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 d6 =3D vextq_f64(d5,d6,1);<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>fatal error: too many errors em= itted, stopping now [-ferror-limit=3D]<br></div><div style=3D"font-family:a= rial,sans-serif"><br></div><div style=3D"font-family:arial,sans-serif"><br>= </div><div style=3D"font-family:arial,sans-serif"><br></div></div> </blockquote></div></div> --000000000000d7493d062e9de955-- --===============0802397973816869302== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev --===============0802397973816869302==--