Your message dated Wed, 17 Sep 2025 15:26:37 +0200
with message-id <[email protected]>
and subject line changed behaviour of _end symbol
has caused the Debian Bug report #717032,
regarding changed behaviour of _end symbol
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
717032: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717032
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: binutils
Version: 2.23.52.20130612-1
Severity: important
User: [email protected]
Usertags: kfreebsd

Hi,

compared to binutils 2.22-8, there is a significant change of
_end symbol behaviour.


glibc built by binutils 2.22-8:

readelf -a 6/lib/x86_64-kfreebsd-gnu/libc.so.0.1 | grep _end
000000352fa8  03ee00000006 R_X86_64_GLOB_DAT 0000000000358e28 _end + 0
000000354ab8  03ee00000001 R_X86_64_64       0000000000358e28 _end + 0
  1006: 0000000000358e28     0 NOTYPE  GLOBAL DEFAULT  ABS _end@@GLIBC_PRIVATE


glibc built by binutils binutils_2.23.52.20130612-1
readelf -a 7/lib/x86_64-kfreebsd-gnu/libc.so.0.1 | grep _end
000000352fb8  03ee00000006 R_X86_64_GLOB_DAT 0000000000358e08 _end + 0
000000354ab8  03ee00000001 R_X86_64_64       0000000000358e08 _end + 0
  1006: 0000000000358e08     0 NOTYPE  GLOBAL DEFAULT   33 _end@@GLIBC_PRIVATE


The _end symbol used to resolve to the end of main binary.
It is used internally as initial brk value.
The FreeBSD kernel does not return new brk value,
only whether brk() syscall succeed or not.

As a result of this changed behaviour,
brk() and sbrk() fails everytime for kfreebsd-*.

I do not know, whether this binutils change is intentional
or how to workaround it.

Petr

--- End Message ---
--- Begin Message ---
FreeBSD ports were removed, so this can be closed.

--- End Message ---

Reply via email to