[Issue 11526] New: buffer overflow detected __fortify_fail when building dmd from source
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 16 01:38:10 PST 2013
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: nobody at puremagic.com
ReportedBy: timothee.cour2 at gmail.com
--- Comment #0 from Timothee Cour <timothee.cour2 at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list