https://d.puremagic.com/issues/show_bug.cgi?id=11526
Summary: buffer overflow detected __fortify_fail when building
dmd from source
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Timothee Cour <[email protected]> 2013-11-16
01:38:08 PST ---
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?
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------