bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4,


From: jbthiel at gmail dot com
Subject: [Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later
Date: Thu, 17 Feb 2022 19:10:26 +0000

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

--- Comment #8 from John B Thiel <jbthiel at gmail dot com> ---
(In reply to H.J. Lu from comment #6)
> What is the last known working binutils?

The last known good is binutils-2.35.2
On Gentoo, if I switch to it, this exact test case works fine, the program
prints 'hello'.

I just confirmed reproduced it again on my dev system.
binutils-2.35.2     works
binutils-2.37_p1-r1 segfault

I had also previously tested 
  binutils-2.36.1     segfault


On Gentoo, one can switch between them via eselect:

AS ROOT
# eselect binutils list
 [1] x86_64-pc-linux-gnu-2.35.2
 [2] x86_64-pc-linux-gnu-2.37_p1 *

# eselect binutils set 1
 * Switching to x86_64-pc-linux-gnu-2.35.2 ...                                 
                                                                               
                                [ ok ]
 * Please remember to run:
 *   # . /etc/profile

NOW AS USER:
$ . /etc/profile
$ sh ppas.sh 
Linking myprog
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
$ ./myprog 
hello

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