bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/30779] gprofng: fails to build with musl-1.2.4 (gprofng/src


From: euloanty at live dot com
Subject: [Bug gprofng/30779] gprofng: fails to build with musl-1.2.4 (gprofng/src/Data_window.h:56:3: error: 'off64_t' does not name a type; did you mean 'off_t'?)
Date: Mon, 08 Jul 2024 11:32:34 +0000

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

--- Comment #21 from cqwrteur <euloanty at live dot com> ---
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/../../include/libiberty.h:112:14:
error: conflicting declaration of C function 'char* basename(const char*)'
  112 | extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL
ATTRIBUTE_NONNULL(1);
      |              ^~~~~~~~
In file included from
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/collctrl.cc:34:
/home/cqwrteur/toolchains/x86_64-pc-linux-gnu/x86_64-linux-musl/x86_64-linux-musl/include/libgen.h:9:7:
note: previous declaration 'char* basename(char*)'
    9 | char *basename(char *);
      |       ^~~~~~~~
eelf_x86_64.c: In function 'gldelf_x86_64_get_script':
eelf_x86_64.c:2692:42: error: 'return' with no value, in function returning
non-void [-Wreturn-mismatch]
 2692 |              && link_info.separate_code) return
      |                                          ^~~~~~
eelf_x86_64.c:155:1: note: declared here
  155 | gldelf_x86_64_get_script (int *isfile)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1617: eelf_x86_64.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/util.cc: In function
'void* dbe_stat_on_thread(void*)':
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/util.cc:911:12: error:
'stat64' was not declared in this scope; did you mean 'fstat64'?
  911 |   int st = stat64 (path, &(wt_info->statbuf));
      |            ^~~~~~
      |            fstat64
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/util.cc: In function
'int dbe_stat_internal(const char*, dbe_stat_t*, bool)':
/home/cqwrteur/toolchains_build/binutils-gdb/gprofng/src/util.cc:1107:12:
error: 'stat64' was not declared in this scope; did you mean 'fstat64'?
 1107 |   int st = stat64 (path, sbuf);
      |            ^~~~~~
      |            fstat64

THIS IS UTTERLY CRAP.

-- 
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]