Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618394 - dev-lang/ruby-2.3.4-r1 fails to compile miniruby due to malloc memory corruption
Summary: dev-lang/ruby-2.3.4-r1 fails to compile miniruby due to malloc memory corruption
Status: RESOLVED DUPLICATE of bug 617898
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-13 23:21 UTC by Dale Lukas Peterson
Modified: 2017-05-27 05:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-lang/ruby-2.3.4-r1::gentoo' (dev-lang_ruby-2.3.4-r1_emerge_info.txt,6.45 KB, text/plain)
2017-05-13 23:21 UTC, Dale Lukas Peterson
Details
emerge -pqv '=dev-lang/ruby-2.3.4-r1::gentoo' (dev-lang_ruby-2.3.4-r1_emerge_pqv.txt,163 bytes, text/plain)
2017-05-13 23:21 UTC, Dale Lukas Peterson
Details
build.log (dev-lang_ruby-2.3.4-r1_emerge_build.log,53.55 KB, text/x-log)
2017-05-13 23:23 UTC, Dale Lukas Peterson
Details
environment (dev-lang_ruby-2.3.4-r1_emerge_environment.txt,126.40 KB, text/plain)
2017-05-13 23:23 UTC, Dale Lukas Peterson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Lukas Peterson 2017-05-13 23:21:29 UTC
Created attachment 472518 [details]
emerge --info '=dev-lang/ruby-2.3.4-r1::gentoo'

Compilation fails when using miniruby:

./miniruby -I./lib -I. -I.ext/common  "./tool/generic_erb.rb" -o verconf.h ./template/verconf.h.tmpl
encdb.h updated
*** Error in `./miniruby': malloc(): memory corruption: 0x00007ffc1f5b7828 ***
Comment 1 Dale Lukas Peterson 2017-05-13 23:21:57 UTC
Created attachment 472520 [details]
emerge -pqv '=dev-lang/ruby-2.3.4-r1::gentoo'
Comment 2 Dale Lukas Peterson 2017-05-13 23:23:39 UTC
Created attachment 472522 [details]
build.log
Comment 3 Dale Lukas Peterson 2017-05-13 23:23:57 UTC
Created attachment 472524 [details]
environment
Comment 4 Hans de Graaff gentoo-dev Security 2017-05-19 05:36:13 UTC
I see you are using gcc 7.1.0. Perhaps this is the same issue as bug 617898
Comment 5 Emil Medve 2017-05-19 11:44:06 UTC
Yup
Comment 6 Hans de Graaff gentoo-dev Security 2017-05-27 05:45:54 UTC

*** This bug has been marked as a duplicate of bug 617898 ***