Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793083 - dev-libs/libsigsegv-2.13 asm/sigcontext.h headers conflicts
Summary: dev-libs/libsigsegv-2.13 asm/sigcontext.h headers conflicts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2021-05-30 16:58 UTC by Iade Gesso
Modified: 2021-05-31 19:59 UTC (History)
2 users (show)

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


Attachments
emerge --info '=dev-libs/libsigsegv-2.13::gentoo' (emerge --info libsigsegv-2.13.txt,12.63 KB, text/plain)
2021-05-30 16:58 UTC, Iade Gesso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iade Gesso 2021-05-30 16:58:39 UTC
Created attachment 712620 [details]
emerge --info '=dev-libs/libsigsegv-2.13::gentoo'

Each time I try to build the new 2.13 version, I get the following error messages:

 * Package:    dev-libs/libsigsegv-2.13
 * Repository: gentoo
 * Maintainer: common-lisp@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying libsigsegv-2.12-skip-stackoverflow-tests.patch ...
 [ ok ]
 * Running eautoreconf in '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13' ...
 * Running 'libtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal -I m4' ...
 [ ok ]
 * Running 'autoconf --force' ...
 [ ok ]
 * Running 'autoheader' ...
 [ ok ]
 * Running 'automake --add-missing --copy --force-missing' ...
 [ ok ]
 * Running elibtoolize in: libsigsegv-2.13/
 * Running elibtoolize in: libsigsegv-2.13/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
configure: loading site script /usr/share/config.site

Build Tools:
checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking host platform... x86_64-pc-linux5.12.8-gnu-glibc2.33
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... /
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

Optional Platform Environment:
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for sysconf(_SC_PAGESIZE)... yes
checking for PAGESIZE in limits.h... no
checking for mmap with MAP_ANON... yes
checking for mmap with MAP_ANONYMOUS... yes
checking for mmap of /dev/zero... yes
checking whether a fault handler according to POSIX works... no
checking whether a fault handler according to Linux/i386 works... no
checking whether a fault handler according to old Linux/i386 works... no
checking whether a fault handler according to Linux/m68k works... no
checking whether a fault handler according to Linux/PowerPC works... no
checking whether a fault handler according to Linux/HPPA works... no
checking whether a fault handler according to BSD works... no
checking whether a fault handler according to IRIX works... no
checking whether a fault handler according to HP-UX HPPA works... no
checking whether a fault handler according to OSF/1 Alpha works... no
checking whether a fault handler according to NetBSD Alpha works... no
checking whether a fault handler according to AIX works... no
checking whether a fault handler according to MacOSX/Darwin7 PowerPC works... no
checking whether a fault handler according to MacOSX/Darwin5 PowerPC works... no
checking whether a fault handler according to Hurd works... no
checking for the fault handler specifics... fault-linux-x86_64-old.h
checking if the system supports catching SIGSEGV... no
checking for stack direction... grows down
checking for prmap_t in sys/procfs.h... no
checking for mquery... no
checking for mincore... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sigaltstack... yes
checking for stack_t... yes
checking for working sigaltstack... yes
checking for correct stack_t interpretation... yes
checking whether a signal handler can be left through longjmp... yes
checking whether a signal handler can be left through longjmp and sigaltstack... yes
checking whether a signal handler can be left through longjmp and setcontext... yes
checking whether a signal handler can be left through siglongjmp... yes
checking whether a signal handler can be left through siglongjmp and sigaltstack... yes
checking whether a signal handler can be left through siglongjmp and setcontext... yes
checking if the system supports catching stack overflow... yes
checking for uintptr_t... yes

Build Parameters:
checking whether to activate relocatable installation... no

Output Substitution:

Now please type 'make' to compile. Good luck.

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sigsegv.h
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13/build-aux/missing' autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make TARGETSTACK=" all" all-recursive
make[1]: Entering directory '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13'
make[1]: warning: -j1 forced in makefile: resetting jobserver mode.
Making all in src
make[2]: Entering directory '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.   -O2 -pipe -march=native -msse4 -msse4.1 -msse4.2 -mcx16 -fomit-frame-pointer -mfpmath=sse -msahf -w -flto=8 -c -o handler.lo handler.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -O2 -pipe -march=native -msse4 -msse4.1 -msse4.2 -mcx16 -fomit-frame-pointer -mfpmath=sse -msahf -w -flto=8 -c handler.c  -fPIC -DPIC -o .libs/handler.o
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:40:8: error: redefinition of ‘struct _fpx_sw_bytes’
   40 | struct _fpx_sw_bytes {
      |        ^~~~~~~~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:31:8: note: originally defined here
   31 | struct _fpx_sw_bytes
      |        ^~~~~~~~~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:85:8: error: redefinition of ‘struct _fpreg’
   85 | struct _fpreg {
      |        ^~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:40:8: note: originally defined here
   40 | struct _fpreg
      |        ^~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:91:8: error: redefinition of ‘struct _fpxreg’
   91 | struct _fpxreg {
      |        ^~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:46:8: note: originally defined here
   46 | struct _fpxreg
      |        ^~~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:98:8: error: redefinition of ‘struct _xmmreg’
   98 | struct _xmmreg {
      |        ^~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:53:8: note: originally defined here
   53 | struct _xmmreg
      |        ^~~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:180:8: error: redefinition of ‘struct _ymmh_state’
  180 | struct _ymmh_state {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:184:8: note: originally defined here
  184 | struct _ymmh_state
      |        ^~~~~~~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:192:8: error: redefinition of ‘struct _xstate’
  192 | struct _xstate {
      |        ^~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:189:8: note: originally defined here
  189 | struct _xstate
      |        ^~~~~~~
In file included from fault-linux-x86_64-old.h:18,
                 from fault.h:37,
                 from handler-unix.c:75,
                 from handler.c:20:
/usr/include/asm/sigcontext.h:317:8: error: redefinition of ‘struct sigcontext’
  317 | struct sigcontext {
      |        ^~~~~~~~~~
In file included from /usr/include/signal.h:288,
                 from handler-unix.c:64,
                 from handler.c:20:
/usr/include/bits/sigcontext.h:139:8: note: originally defined here
  139 | struct sigcontext
      |        ^~~~~~~~~~
make[2]: *** [Makefile:492: handler.lo] Error 1
make[2]: Leaving directory '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13/src'
make[1]: *** [Makefile:433: all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13'
make: *** [Makefile:365: all] Error 2
 * ERROR: dev-libs/libsigsegv-2.13::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libsigsegv-2.13::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libsigsegv-2.13::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-libs/libsigsegv-2.13/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-libs/libsigsegv-2.13/temp/environment'.
 * Working directory: '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13'
 * S: '/tmp/portage/dev-libs/libsigsegv-2.13/work/libsigsegv-2.13'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-libs/libsigsegv-2.13:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/tmp/portage/dev-libs/libsigsegv-2.13/temp/build.log'
 * 


Iade Gesso, MSc, PhD
Comment 1 Ionen Wolkens gentoo-dev 2021-05-31 10:26:10 UTC
Try removing -flto
Comment 2 Iade Gesso 2021-05-31 19:55:16 UTC
(In reply to Ionen Wolkens from comment #1)
> Try removing -flto

I already tried before firing the new bug... now I tried again and it works without lto CFLAG.



Thanks

Iade