1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/emulators
Dimitry Andric 5416735dea emulators/mupen64plus-core: fix build with clang and lld 19
lld 19 has become more strict about 32-bit relocations that require PIC,
resulting in link errors when building emulators/mupen64plus-core:

      LD  libmupen64plus.so.2.0.0
  ld: error: relocation R_386_32 cannot be used against symbol '__gxx_personality_v0'; recompile with -fPIC
  >>> defined in /usr/lib/libcxxrt.so
  >>> referenced by oglft_c.cpp
  >>>               _obj/osd/oglft_c.o:(.eh_frame+0xFA63)

  ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
  >>> defined in _obj/osd/oglft_c.o
  >>> referenced by oglft_c.cpp
  >>>               _obj/osd/oglft_c.o:(.eh_frame+0xFA81)

  ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
  >>> defined in _obj/osd/oglft_c.o
  >>> referenced by oglft_c.cpp
  >>>               _obj/osd/oglft_c.o:(.eh_frame+0xFAB1)

  ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
  >>> defined in _obj/osd/oglft_c.o
  >>> referenced by oglft_c.cpp
  >>>               _obj/osd/oglft_c.o:(.eh_frame+0xFAE1)

  [...more of these...]

Make it compile with -fPIC even on i386, by adjusting the PIC make
variable. This also removes the need to use -Wl,-znotext as a workaround.

PR:		281906
Approved by:	maintainer timeout (2 weeks)
MFH:		2024Q4
2024-10-20 12:00:34 +02:00
..
86Box
adamem
almostti
anese
aqemu
aranym
ares
atari800
bfe
bochs
bsvc
cannonball
catapult
cemu
cingb
citra
citra-qt5
cpmtools
cpmtools2
darcnes
dgen-sdl
dolphin-emu
dosbox
dosbox-staging
dosbox-x
dps8m
duckstation
dynamips-community
edumips64
elliott-803
emu64
emulationstation
es-de */*: Bump consumers of devel/libgit2 2024-10-18 19:56:41 +01:00
fceux
flexemu
fmsx
frodo
fs-uae
fs-uae-launcher */*: Chase removal of sip from RUN_DEPENDS 2024-10-19 03:33:57 -04:00
fuse
fuse-roms
fuse-utils
gbe
gens
gngb
gxemul
hatari
hercules
higan
hv_kvp_cmd
javatari
joytran
jzintv
klh10
lib765
libc6-shim
libdsk
libretro-bsnes
libretro-flycast
libretro-kronos
libretro-mame
libretro-pcsx2
libretro-ppsspp
libretro-reicast
libretro-vice
libspectrum
linux_base-c7 emulators/linux_base-c7: Fix distinfo for aarch64 2024-10-11 11:04:55 +02:00
linux_base-rl9
linux-c7
linux-power9-functional-sim
linux-power10-functional-sim
linux-rl9
magia
mame
mastergear
mednafen
mesen
mgba
mtools
mupen64plus
mupen64plus-audio-sdl
mupen64plus-core emulators/mupen64plus-core: fix build with clang and lld 19 2024-10-20 12:00:34 +02:00
mupen64plus-input-sdl
mupen64plus-plugins
mupen64plus-qt
mupen64plus-rsp-cxd4
mupen64plus-rsp-hle
mupen64plus-rsp-z64
mupen64plus-ui-console
mupen64plus-video-arachnoid
mupen64plus-video-glide64
mupen64plus-video-glide64mk2
mupen64plus-video-rice
mupen64plus-video-z64
nemu
nestopia
o2em
ods2reader
open-simh
open-vm-tools
openmsx
p5-Acme-6502
parallels-tools
pcem
pcemu
pcsx2
playonbsd
ppsspp
ppsspp-qt5
py-gns3-converter
py-m64py
py-unicorn
qemu
qemu8
qemu-cheri
qemu-devel
qemu-powernv
qemu-user-static
qemu-user-static-devel
qmc2
quasi88
reicast
ripes
riscv-isa-sim
rpcs3 emulators/rpcs3: update to 0.0.33.17042 2024-10-17 02:48:11 +02:00
rubygem-fission
sameboy
simh
simh-hp2100
simh-hp3000
simh-hpdoc
snes9x-gtk
spim
stella
stonx
teo
tic-80
tiemu3
tilem
tme
tnylpo
tpm-emulator
uae
ucon64
uconvert
ukncbtl
unicorn
vba
vboxtool
vgb-bin
vgba-bin
vice
virtualbox-ose
virtualbox-ose-additions
virtualbox-ose-additions-legacy
virtualbox-ose-additions-nox11
virtualbox-ose-additions-nox11-legacy
virtualbox-ose-kmod
virtualbox-ose-kmod-legacy
virtualbox-ose-legacy
virtualbox-ose-nox11
virtualbox-ose-nox11-legacy
visualboyadvance-m
vmips
vmsbackup
vmw
vt100
vxtools
wine
wine8
wine-devel
wine-gecko
wine-gecko-devel
wine-mono
wine-mono-devel
wine-proton
winetricks
x16-emulator
x16-rom
x48
x49gp
xbraitenberg
xcpc
xen-kernel
xhomer
xsystem35
xzx
yaze-ag
yuzu
z80pack
zsnes
Makefile