Public bug reported:
On amd64, trinity is currently FTBFS[1] with the following:
cc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/trinity-1.9+git20241022.ba2360ed84a8-1
-Wall -Wextra -I. -Iinclude/ -include config.h -Wimplicit -D_GNU_SOURCE
-D__linux__ -std=gnu11 -Wformat=2 -Winit-self -Wnested-externs -Wpacked
-Wshadow -Wswitch-enum -Wundef -Wwrite-strings -Wno-format-nonliteral
-Wstrict-prototypes -Wmissing-prototypes -fsigned-char
-Wno-missing-field-initializers -Wlogical-op -Wstrict-aliasing=3 -o
tables-uniarch.o -c tables-uniarch.c
syscall.c: In function ‘__do_syscall’:
syscall.c:136:1: error: bp cannot be used in ‘asm’ here
136 | }
| ^
make[2]: *** [Makefile:113: syscall.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 V=1 returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
This function tries to access the register rb with inline assembly but
that register is reserved for the frame pointer when -fno-omit-frame-
pointer is enabled, and hence cannot be used in inline assembly.
https://launchpadlibrarian.net/791453574/buildlog_ubuntu-questing-
amd64.trinity_1.9+git20241022.ba2360ed84a8-1_BUILDING.txt.gz
** Affects: trinity (Ubuntu)
Importance: Medium
Assignee: Ural Tunaboyu (uralt)
Status: Triaged
** Tags: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2114228
Title:
trinity: FTBFS with -fno-omit-frame-pointer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trinity/+bug/2114228/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs