[erlang-bugs] R14B01: buffer overflow detected during compilation with -D_FORTIFY_SOURCE=2 (x86_64)

Christian Faulhammer <>
Fri Dec 17 16:59:38 CET 2010


Hi,

Nico Kruber <>:
> Most distributions nowadays adds the -D_FORTIFY_SOURCE=2 flag during
> package compilation. I tried updating my erlang package (openSUSE
> 11.3, x86_64) from R14B to R14B01 and received the following error
> (also see the attached build.log.fortsource2 - compressed due to its
> file size):
[...]
> Setting  -D_FORTIFY_SOURCE=1 allows erlang to be build but the buffer
> overflow is probably still there and dangerous... R14B did not show
> this behaviour.

As you can see, a lot of people are hitting this problem on Gentoo:

 https://bugs.gentoo.org/show_bug.cgi?id=348559

Is there a fix available already somewhere?

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20101217/9d531090/attachment.bin>


More information about the erlang-bugs mailing list