You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently I have tried to compile LibreSSL 3.7.3 release from source on macOS Ventura aarch64 with target architecture x86_64. I wanted to get LibreSSL built for both architectures separately.
For building I've used the following commands:
./configure --prefix=mycustomfolder.amd64 --build=x86_64-darwin --enable-asm --disable-shared --with-pic make clean all install_sw
The compilation finishes without any error. However when I take a look at the libraries, it compiled.
Using lipo, the files are for arm64 only instead of x86_64.
Actually I am not sure if I configured it wrong or if there is an issue in the build chain. I don't use CMake for compilation, just configure and make.
I also found a workaround: after configure, I do get correct x86_64 binaries when I run make in x86_64 mode:
And this issue #876 which is very similar to my situation but it's actually not the same situation because I don't use CMake at all, only make and configure.
The text was updated successfully, but these errors were encountered:
Hello,
currently I have tried to compile LibreSSL 3.7.3 release from source on macOS Ventura aarch64 with target architecture x86_64. I wanted to get LibreSSL built for both architectures separately.
For building I've used the following commands:
./configure --prefix=mycustomfolder.amd64 --build=x86_64-darwin --enable-asm --disable-shared --with-pic
make clean all install_sw
The compilation finishes without any error. However when I take a look at the libraries, it compiled.
Using lipo, the files are for arm64 only instead of x86_64.
Actually I am not sure if I configured it wrong or if there is an issue in the build chain. I don't use CMake for compilation, just configure and make.
I also found a workaround: after configure, I do get correct x86_64 binaries when I run make in x86_64 mode:
arch -x86_64 make clean all install_sw
Then it compiles true x86_64 binaries.
Additionally I saw this pull request: #877
And this issue #876 which is very similar to my situation but it's actually not the same situation because I don't use CMake at all, only make and configure.
The text was updated successfully, but these errors were encountered: