Bug 11526 – buffer overflow detected __fortify_fail when building dmd from source

Status
RESOLVED
Resolution
LATER
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-16T01:38:08Z
Last change time
2022-06-09T13:47:00Z
Assigned to
No Owner
Creator
Timothee Cour

Comments

Comment #0 by timothee.cour2 — 2013-11-16T01:38:08Z
reposting from http://comments.gmane.org/gmane.comp.lang.d.general/135653: On my one of my machines (ubuntu64) I cannot compile from source unless I pass DEBUG=1 flag; without DEBUG=1 I get : $cd src/dmd $make -f posix.mak -j8 #ok till this point $cd ../druntime $make -f posix.mak -j8 DMD=../dmd/dmd ../dmd/dmd -lib -oflib/libdruntime-linuxdefault.a -Xfdruntime.json ...#etc *** buffer overflow detected ***: ../dmd/dmd terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6 #also shows those symbols: __fortify_fail _IO_default_xsputn _IO_vfprintf __vsprintf_chk __sprintf_chk ../dmd/dmd __libc_start_main ../dmd/dmd ======= Memory map: ======== I get the same from git master. with DEBUG=1 it works on another ubuntu64 machine, I don't have this problem, but I actually need it to work on the 1st machine. Not sure what could be the problem?
Comment #1 by timothee.cour2 — 2013-11-16T01:39:56Z
both machines are 12.04 btw.
Comment #2 by razvan.nitu1305 — 2022-06-09T13:47:00Z
Timothee, does this problem still persist? I am going to preemptively close this as there is no way of reproducing this. If you have any new information, please reopen.