惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
爱范儿
爱范儿
小众软件
小众软件
MyScale Blog
MyScale Blog
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
V
V2EX
量子位
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
C
Check Point Blog
月光博客
月光博客

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - libretro-hatari-enhanced-git
2026-06-11 · via AUR Newest Packages

Compiling works but linking does not:

/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: warning: relocation against `co_active_handle' in read-only section `.text'
/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: in function `co_switch':
<artificial>:(.text+0x3): undefined reference to `co_active_handle'
/usr/bin/ld: /tmp/cc9fuWLN.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `co_active_handle' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value

... however the -fPIC flag is already being used during the compilation step.

It seems to be related to the makepkg environment, as it works when you build this outside makepkg (just executing the "make -f Makefile.libretro" command), even with the capsimage support patch applied.

You can fix this by editing the PKGBUILD file adding the following line after the "makedepends=..." one:

options=('!buildflags')

... and then building the package via "makepkg" as usual.

cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"" a4c9eb0bc cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"" a4c9eb0bc src/file.c:21:10: fatal error: winsock2.h: No such file or directory 21 | #include <winsock2.h> | ^~~~ compilation terminated. make: *** [Makefile.libretro:255: src/file.o] Error 1 make: *** Waiting for unfinished jobs....

Can you please ad "groups=('libretro')" (sans quotes) so this shows up when installing the "libretro" group package set?