bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/29477] New: Build failure on musl: collector_module.h:78:13


From: slyich at gmail dot com
Subject: [Bug gprofng/29477] New: Build failure on musl: collector_module.h:78:13: error: duplicate member ‘pwrite’
Date: Fri, 12 Aug 2022 08:18:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29477

            Bug ID: 29477
           Summary: Build failure on musl: collector_module.h:78:13:
                    error: duplicate member ‘pwrite’
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: slyich at gmail dot com
  Target Milestone: ---

Created attachment 14273
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14273&action=edit
binutils-2.39-musl.log

Attempt to build binutils-2.39 (enables gprofng by default) fails as:

binutils> make  all-am
binutils> make[5]: Entering directory
'/build/binutils-2.39/gprofng/libcollector'
binutils> /nix/store/4k23hc0n15afv1nk951vh1c4c3f0yacz-bootstrap-tools/bin/bash
./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -U_ASM -I.. -I.
-I./../common -I./../src -I./../../include  -I../../bfd -I./../..  -Wall
-Wno-nonnull-compare -g -O2     -MT libgp_collector_la-gethrtime.lo -MD -MP -MF
.deps/libgp_collector_la-gethrtime.Tpo -c -o libgp_collector_la-gethrtime.lo
`test -f 'gethrtime.c' || echo './'`gethrtime.c
binutils> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -U_ASM -I.. -I.
-I./../common -I./../src -I./../../include -I../../bfd -I./../.. -Wall
-Wno-nonnull-compare -g -O2 -MT libgp_collector_la-gethrtime.lo -MD -MP -MF
.deps/libgp_collector_la-gethrtime.Tpo -c gethrtime.c  -fPIC -DPIC -o
.libs/libgp_collector_la-gethrtime.o
binutils> mv -f .deps/libgp_collector_la-gethrtime.Tpo
.deps/libgp_collector_la-gethrtime.Plo
binutils> /nix/store/4k23hc0n15afv1nk951vh1c4c3f0yacz-bootstrap-tools/bin/bash
./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -U_ASM -I.. -I.
-I./../common -I./../src -I./../../include  -I../../bfd -I./../..  -Wall
-Wno-nonnull-compare -g -O2     -MT libgp_collector_la-dispatcher.lo -MD -MP
-MF .deps/libgp_collector_la-dispatcher.Tpo -c -o
libgp_collector_la-dispatcher.lo `test -f 'dispatcher.c' || echo
'./'`dispatcher.c
binutils> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -U_ASM -I.. -I.
-I./../common -I./../src -I./../../include -I../../bfd -I./../.. -Wall
-Wno-nonnull-compare -g -O2 -MT libgp_collector_la-dispatcher.lo -MD -MP -MF
.deps/libgp_collector_la-dispatcher.Tpo -c dispatcher.c  -fPIC -DPIC -o
.libs/libgp_collector_la-dispatcher.o
binutils> In file included from dispatcher.c:35:0:
binutils>
/nix/store/4k23hc0n15afv1nk951vh1c4c3f0yacz-bootstrap-tools/include-libc/sys/signal.h:1:2:
warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
[-Wcpp]
binutils>  #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
binutils>   ^~~~~~~
binutils> In file included from dispatcher.c:30:0:
binutils> ./../src/collector_module.h:78:13: error: duplicate member ‘pwrite’
binutils>    ssize_t (*pwrite64)();
binutils>              ^
binutils> dispatcher.c: In function ‘collector_timer_create’:
binutils> dispatcher.c:575:24: error: ‘SIGEV_THREAD_ID’ undeclared (first use
in this function); did you mean ‘SIGEV_THREAD’?
binutils>    sigev.sigev_notify = SIGEV_THREAD_ID | SIGEV_SIGNAL;
binutils>                         ^~~~~~~~~~~~~~~
binutils>                         SIGEV_THREAD

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]