Skip to content

Commit

Permalink
emulators/rpcs3: switch back to llvm13 to unbreak FreeBSD < 13
Browse files Browse the repository at this point in the history
FAILED: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/Cell/lv2/sys_net/lv2_socket_p2p.cpp.o
[...]
1.      <eof> parser at end of file
 #0 0x000000082c9b0ac9 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/llvm15/lib/libLLVM-15.so+0x33b0ac9)
 #1 0x000000082c9aeca5 llvm::sys::RunSignalHandlers() (/usr/local/llvm15/lib/libLLVM-15.so+0x33aeca5)
 #2 0x000000082c8d00c5 (/usr/local/llvm15/lib/libLLVM-15.so+0x32d00c5)
 #3 0x0000000822fadc60 (/lib/libthr.so.3+0x14c60)
clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 15.0.6
Target: x86_64-portbld-freebsd12.3
Thread model: posix
InstalledDir: /usr/local/llvm15/bin

Reported by:	pkg-fallout

This reverts commit 8bc04d7.
  • Loading branch information
jbeich committed Dec 24, 2022
1 parent 0b16928 commit 0c0c236
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions emulators/rpcs3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PORTNAME= rpcs3
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.25-14499 # git rev-list --count HEAD
DISTVERSIONSUFFIX= -g5b95cfda40
PORTREVISION= 1
CATEGORIES= emulators wayland

MAINTAINER= jbeich@FreeBSD.org
Expand Down Expand Up @@ -109,7 +110,7 @@ post-patch:

# Ignore Mk/bsd.default-versions.mk but respect make.conf(5)
.if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mllvm*}
LLVM_DEFAULT= 15 # bump if not latest release
LLVM_DEFAULT= 13 # bump if not latest release
.endif
BUILD_DEPENDS+= clang++${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USES:= ${USES:Ncompiler*}
Expand All @@ -118,14 +119,13 @@ CXX= clang++${LLVM_DEFAULT}
CPP= clang-cpp${LLVM_DEFAULT}

# XXX Move into separate port and standardize via USES
GH_TUPLE+= llvm:llvm-project:llvmorg-15.0.6:libcxx
GH_TUPLE+= llvm:llvm-project:llvmorg-13.0.1:libcxx
CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1
LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt

pre-configure: bundled-libcxx
bundled-libcxx:
@${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS:M*Ninja*} \
-DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \
-B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx
@${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build
Expand Down
4 changes: 2 additions & 2 deletions emulators/rpcs3/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SHA256 (kinetiknz-cubeb-cubeb-0.2-1391-gdc511c6_GH0.tar.gz) = 904cbd1e3abc0983ef
SIZE (kinetiknz-cubeb-cubeb-0.2-1391-gdc511c6_GH0.tar.gz) = 223020
SHA256 (wolfSSL-wolfssl-v5.5.0-stable_GH0.tar.gz) = c34b74b5f689fac7becb05583b044e84d3b10d39f38709f0095dd5d423ded67f
SIZE (wolfSSL-wolfssl-v5.5.0-stable_GH0.tar.gz) = 18814382
SHA256 (llvm-llvm-project-llvmorg-15.0.6_GH0.tar.gz) = 4d857d7a180918bdacd09a5910bf9743c9861a1e49cb065a85f7a990f812161d
SIZE (llvm-llvm-project-llvmorg-15.0.6_GH0.tar.gz) = 166301026
SHA256 (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 09c50d558bd975c41157364421820228df66632802a4a6a7c9c17f86a7340802
SIZE (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 147290251
SHA256 (59e69944056b.patch) = e0b286d4ceae6c5bffc95be2f3044e40ac5e4c6e0796ac421fa90fa3978a68dd
SIZE (59e69944056b.patch) = 112588

0 comments on commit 0c0c236

Please sign in to comment.