Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935281 - sys-apps/sandbox-2.39 fails to compile on ia64 with sys-devel/gcc:14: error: implicit declaration of function '__clone2'; did you mean 'clone'?
Summary: sys-apps/sandbox-2.39 fails to compile on ia64 with sys-devel/gcc:14: error: ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-07-01 14:55 UTC by matoro
Modified: 2024-07-01 14:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_935281.txt,39.15 KB, text/plain)
2024-07-01 14:55 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-01 14:55:37 UTC
Created attachment 896698 [details]
build.log and emerge --info

The clone(2) manpage specifically calls out that the interface is different on ia64, so that might be the issue?  This was being masked before as a warning.

libtool: compile:  ia64-unknown-linux-gnu-gcc-14 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39 -DETCDIR=\"/etc\" -DLIBSANDBOX_PATH=\"/usr/lib\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -I/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39 -I/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil -I/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -Wall -O2 -pipe -fdata-sections -ffunction-sections -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-realloc -c /var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil/sb_gdb.c  -fPIC -DPIC -o libsbutil/.libs/libsbutil_la-sb_gdb.o
/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil/sb_gdb.c: In function 'sb_gdb':
/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil/sb_gdb.c:35:9: error: implicit declaration of function '__clone2'; did you mean 'clone'? [-Wimplicit-function-declaration]
   35 |         __clone2(fn, stack, STACK_SIZE, flags, arg, NULL, NULL, NULL)
      |         ^~~~~~~~
/var/tmp/portage/sys-apps/sandbox-2.39/work/sandbox-2.39/libsbutil/sb_gdb.c:59:13: note: in expansion of macro 'clone'
   59 |         if (clone(__sb_connect_gdb, stack + STACK_SIZE, 0, (void *)(uintptr_t)pid) != -1) {
      |             ^~~~~
make[1]: *** [Makefile:2198: libsbutil/libsbutil_la-sb_gdb.lo] Error 1
make: *** [Makefile:1068: all] Error 2