[Bug gprofng/29364] libgprofng.so: needs to link against -pthread

2022-07-14 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29364

--- Comment #1 from Vladimir Mezentsev  
---

We build with $(PTHREAD_CFLAGS) and link with $(PTHREAD_LIBS)
We use AX_PTHREAD in gprofng/configure.ac to set up PTHREAD_CFLAGS and
PTHREAD_LIBS.

I see in build that PTHREAD_CFLAGS is set correctly but PTHREAD_LIBS is always
empty:

% egrep -ns '"PTHREAD_CFLAGS"|"PTHREAD_LIBS"' */config.status
gdb/config.status:745:S["PTHREAD_CFLAGS"]="-pthread"
gdb/config.status:746:S["PTHREAD_LIBS"]=""
gdbserver/config.status:660:S["PTHREAD_CFLAGS"]="-pthread"
gdbserver/config.status:661:S["PTHREAD_LIBS"]=""
gdbsupport/config.status:633:S["PTHREAD_CFLAGS"]="-pthread"
gdbsupport/config.status:634:S["PTHREAD_LIBS"]=""
gprofng/config.status:888:S["PTHREAD_CFLAGS"]="-pthread"
gprofng/config.status:889:S["PTHREAD_LIBS"]=""
libbacktrace/config.status:876:S["PTHREAD_CFLAGS"]="-pthread"


It looks like the bug is in AX_PTHREAD (config/ax_pthread.m4).

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


[Bug ld/29369] New: [2.39 Regression] ld: internal error ../../ld/ldlang.c 6452 on powerpc64le-linux-gnu

2022-07-14 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29369

Bug ID: 29369
   Summary: [2.39 Regression] ld: internal error ../../ld/ldlang.c
6452 on powerpc64le-linux-gnu
   Product: binutils
   Version: 2.39
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: doko at debian dot org
  Target Milestone: ---

seen when linking python3.11 beta4 on powerpc64le-linux-gnu. The link is a lto
link, together with -fprofile-generate. The build fails in the current Ubuntu
development release, but succeeds in the Debian development release.

full build log at
https://launchpad.net/ubuntu/+source/python3.11/3.11.0~b4-1/+build/24168946

need to provide the object files, however travelling for some time now.

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


[Bug ld/29369] [2.39 Regression] ld: internal error ../../ld/ldlang.c 6452 on powerpc64le-linux-gnu

2022-07-14 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29369

Matthias Klose  changed:

   What|Removed |Added

 CC||amodra at gmail dot com
 Target||powerpc64le-linux-gnu

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


[Bug gprofng/29368] The installation process should check for the makeinfo version

2022-07-14 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29368

Ruud van der Pas  changed:

   What|Removed |Added

 CC||ruud.vanderpas at oracle dot 
com

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


[Bug gprofng/29368] New: The installation process should check for the makeinfo version

2022-07-14 Thread ruud.vanderpas at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29368

Bug ID: 29368
   Summary: The installation process should check for the makeinfo
version
   Product: binutils
   Version: 2.39
Status: NEW
  Severity: normal
  Priority: P2
 Component: gprofng
  Assignee: vladimir.mezentsev at oracle dot com
  Reporter: ruud.vanderpas at oracle dot com
  Target Milestone: ---

The generation of the gprofng.texi documentation file fails for a version of
makeinfo earlier than 6.5.

There should be an early check for this version. Anything from 6.5 and onward
works fine, but if makeinfo is older, the installation process should stop with
a descriptive message.

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


Binutils bug compiling Gnome Text Editor on Windows

2022-07-14 Thread Zachary Kleiman
I'm unable to register on Bugzilla so I can't file this there. However,
while trying to compile the Gnome Text Editor on Windows using msys2 I
found the following error which caused compilation to cease. It's quite
long so I pasted it here https://pastebin.mozilla.org/kbwhHzh7


[Bug binutils/29348] gdb/build: format specifies type 'unsigned long' but the argument has type 'bfd_size_type' (aka 'unsigned long long')

2022-07-14 Thread lienze at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29348

--- Comment #3 from Enze Li  ---
(In reply to Alan Modra from comment #2)
> The direct cause here is likely a wrong configure setting for
> BFD_HOST_64BIT_LONG.  How did you configure and build?

I use the following command,

$ ./configure --prefix=`pwd`/build --disable-binutils --disable-ld
--disable-gold --disable-gas --disable-sim --disable-gprof --disable-gprofng
$ make

In addition, I noticed that the error also appeared on another macbook which
newly installed macOS 11.6.1

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