ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:76920] [Ruby trunk Bug#12679] Failed to build ruby on aarch64 with musl libc and gcc 6
       [not found] <redmine.issue-12679.20160816081139@ruby-lang.org>
@ 2016-08-16  8:11 ` clandmeter
  2016-08-16  8:12 ` [ruby-core:76921] " clandmeter
  2016-09-23 10:11 ` [ruby-core:77367] [Ruby trunk Bug#12679][Feedback] " shyouhei
  2 siblings, 0 replies; 3+ messages in thread
From: clandmeter @ 2016-08-16  8:11 UTC (permalink / raw
  To: ruby-core

Issue #12679 has been reported by Carlo Landmeter.

----------------------------------------
Bug #12679: Failed to build ruby on aarch64 with musl libc and gcc 6
https://bugs.ruby-lang.org/issues/12679

* Author: Carlo Landmeter
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
verconf.h updated
compiling loadpath.c
encdb.h updated
linking static-library libruby-static.a
making srcs under enc
make[1]: Entering directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
generating transdb.h
verifying static-library libruby-static.a
./template/transdb.h.tmpl:17: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.1p112 (2016-04-26 revision 54768) [aarch64-linux-musl]

-- Control frame information -----------------------------------------------
c:0008 p:---- s:0049 e:000048 IFUNC
c:0007 p:---- s:0047 e:000046 CFUNC  :each
c:0006 p:---- s:0045 e:000044 CFUNC  :inject
c:0005 p:0062 s:0041 E:000ed8 EVAL   ./template/transdb.h.tmpl:17 [FINISH]
c:0004 p:---- s:0032 e:000031 CFUNC  :eval
c:0003 p:0050 s:0025 e:000024 METHOD /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864
c:0002 p:0384 s:0021 E:001818 EVAL   ./tool/generic_erb.rb:38 [FINISH]
c:0001 p:0000 s:0002 E:0000d0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:38:in `<main>'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `result'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `eval'
./template/transdb.h.tmpl:17:in `<main>'
./template/transdb.h.tmpl:17:in `inject'
./template/transdb.h.tmpl:17:in `each'

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/generic_erb.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/cgi/util.rb
    5 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb
    6 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/optparse.rb
    7 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/fileutils.rb
    8 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/tool/vpath.rb

* Process memory map:

2aaac4c0000-2aaac680000 r-xp 00000000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac680000-2aaac690000 r--p 001b0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac690000-2aaac6a0000 rw-p 001c0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aabc490000-2aabc780000 rw-p 00000000 00:00 0                            [heap]
3ff7cf90000-3ff7cfa0000 ---p 00000000 00:00 0
3ff7cfa0000-3ff7d0c0000 rw-p 00000000 00:00 0                            [stack:10116]
3ff7d0c0000-3ff7d120000 r-xp 00000000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d120000-3ff7d130000 rw-p 00050000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d130000-3ff7d140000 r--p 00000000 00:00 0                            [vvar]
3ff7d140000-3ff7d150000 r-xp 00000000 00:00 0                            [vdso]
3ff7d150000-3ff7d1e0000 r-xp 00000000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ff7d1e0000-3ff7d200000 rw-p 00080000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ffd8380000-3ffd83b0000 rw-p 00000000 00:00 0


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [uncommon.mk:822: transdb.h] Aborted
make: *** Waiting for unfinished jobs....
>>> ERROR: ruby: all failed
>>> ruby: Uninstalling dependencies...



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:76921] [Ruby trunk Bug#12679] Failed to build ruby on aarch64 with musl libc and gcc 6
       [not found] <redmine.issue-12679.20160816081139@ruby-lang.org>
  2016-08-16  8:11 ` [ruby-core:76920] [Ruby trunk Bug#12679] Failed to build ruby on aarch64 with musl libc and gcc 6 clandmeter
@ 2016-08-16  8:12 ` clandmeter
  2016-09-23 10:11 ` [ruby-core:77367] [Ruby trunk Bug#12679][Feedback] " shyouhei
  2 siblings, 0 replies; 3+ messages in thread
From: clandmeter @ 2016-08-16  8:12 UTC (permalink / raw
  To: ruby-core

Issue #12679 has been updated by Carlo Landmeter.

Description updated

----------------------------------------
Bug #12679: Failed to build ruby on aarch64 with musl libc and gcc 6
https://bugs.ruby-lang.org/issues/12679#change-60151

* Author: Carlo Landmeter
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
~~~
verconf.h updated
compiling loadpath.c
encdb.h updated
linking static-library libruby-static.a
making srcs under enc
make[1]: Entering directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
generating transdb.h
verifying static-library libruby-static.a
./template/transdb.h.tmpl:17: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.1p112 (2016-04-26 revision 54768) [aarch64-linux-musl]

-- Control frame information -----------------------------------------------
c:0008 p:---- s:0049 e:000048 IFUNC
c:0007 p:---- s:0047 e:000046 CFUNC  :each
c:0006 p:---- s:0045 e:000044 CFUNC  :inject
c:0005 p:0062 s:0041 E:000ed8 EVAL   ./template/transdb.h.tmpl:17 [FINISH]
c:0004 p:---- s:0032 e:000031 CFUNC  :eval
c:0003 p:0050 s:0025 e:000024 METHOD /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864
c:0002 p:0384 s:0021 E:001818 EVAL   ./tool/generic_erb.rb:38 [FINISH]
c:0001 p:0000 s:0002 E:0000d0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:38:in `<main>'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `result'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `eval'
./template/transdb.h.tmpl:17:in `<main>'
./template/transdb.h.tmpl:17:in `inject'
./template/transdb.h.tmpl:17:in `each'

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/generic_erb.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/cgi/util.rb
    5 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb
    6 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/optparse.rb
    7 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/fileutils.rb
    8 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/tool/vpath.rb

* Process memory map:

2aaac4c0000-2aaac680000 r-xp 00000000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac680000-2aaac690000 r--p 001b0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac690000-2aaac6a0000 rw-p 001c0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aabc490000-2aabc780000 rw-p 00000000 00:00 0                            [heap]
3ff7cf90000-3ff7cfa0000 ---p 00000000 00:00 0
3ff7cfa0000-3ff7d0c0000 rw-p 00000000 00:00 0                            [stack:10116]
3ff7d0c0000-3ff7d120000 r-xp 00000000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d120000-3ff7d130000 rw-p 00050000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d130000-3ff7d140000 r--p 00000000 00:00 0                            [vvar]
3ff7d140000-3ff7d150000 r-xp 00000000 00:00 0                            [vdso]
3ff7d150000-3ff7d1e0000 r-xp 00000000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ff7d1e0000-3ff7d200000 rw-p 00080000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ffd8380000-3ffd83b0000 rw-p 00000000 00:00 0


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [uncommon.mk:822: transdb.h] Aborted
make: *** Waiting for unfinished jobs....
>>> ERROR: ruby: all failed
>>> ruby: Uninstalling dependencies...
~~~



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:77367] [Ruby trunk Bug#12679][Feedback] Failed to build ruby on aarch64 with musl libc and gcc 6
       [not found] <redmine.issue-12679.20160816081139@ruby-lang.org>
  2016-08-16  8:11 ` [ruby-core:76920] [Ruby trunk Bug#12679] Failed to build ruby on aarch64 with musl libc and gcc 6 clandmeter
  2016-08-16  8:12 ` [ruby-core:76921] " clandmeter
@ 2016-09-23 10:11 ` shyouhei
  2 siblings, 0 replies; 3+ messages in thread
From: shyouhei @ 2016-09-23 10:11 UTC (permalink / raw
  To: ruby-core

Issue #12679 has been updated by Shyouhei Urabe.

Status changed from Open to Feedback

Sorry, this platform (arch and libc) is not actively supported officially I think.

I'm happy to introduce a fix if someone have one.

----------------------------------------
Bug #12679: Failed to build ruby on aarch64 with musl libc and gcc 6
https://bugs.ruby-lang.org/issues/12679#change-60612

* Author: Carlo Landmeter
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
~~~
verconf.h updated
compiling loadpath.c
encdb.h updated
linking static-library libruby-static.a
making srcs under enc
make[1]: Entering directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1'
generating transdb.h
verifying static-library libruby-static.a
./template/transdb.h.tmpl:17: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.1p112 (2016-04-26 revision 54768) [aarch64-linux-musl]

-- Control frame information -----------------------------------------------
c:0008 p:---- s:0049 e:000048 IFUNC
c:0007 p:---- s:0047 e:000046 CFUNC  :each
c:0006 p:---- s:0045 e:000044 CFUNC  :inject
c:0005 p:0062 s:0041 E:000ed8 EVAL   ./template/transdb.h.tmpl:17 [FINISH]
c:0004 p:---- s:0032 e:000031 CFUNC  :eval
c:0003 p:0050 s:0025 e:000024 METHOD /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864
c:0002 p:0384 s:0021 E:001818 EVAL   ./tool/generic_erb.rb:38 [FINISH]
c:0001 p:0000 s:0002 E:0000d0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:38:in `<main>'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `result'
/home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb:864:in `eval'
./template/transdb.h.tmpl:17:in `<main>'
./template/transdb.h.tmpl:17:in `inject'
./template/transdb.h.tmpl:17:in `each'

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/generic_erb.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/cgi/util.rb
    5 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/erb.rb
    6 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/optparse.rb
    7 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/lib/fileutils.rb
    8 /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/tool/vpath.rb

* Process memory map:

2aaac4c0000-2aaac680000 r-xp 00000000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac680000-2aaac690000 r--p 001b0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aaac690000-2aaac6a0000 rw-p 001c0000 00:27 1100437                      /home/clandmeter/aports-aarch64/main/ruby/src/ruby-2.3.1/miniruby
2aabc490000-2aabc780000 rw-p 00000000 00:00 0                            [heap]
3ff7cf90000-3ff7cfa0000 ---p 00000000 00:00 0
3ff7cfa0000-3ff7d0c0000 rw-p 00000000 00:00 0                            [stack:10116]
3ff7d0c0000-3ff7d120000 r-xp 00000000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d120000-3ff7d130000 rw-p 00050000 00:27 1212                         /usr/lib/libgmp.so.10.3.1
3ff7d130000-3ff7d140000 r--p 00000000 00:00 0                            [vvar]
3ff7d140000-3ff7d150000 r-xp 00000000 00:00 0                            [vdso]
3ff7d150000-3ff7d1e0000 r-xp 00000000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ff7d1e0000-3ff7d200000 rw-p 00080000 00:27 509023                       /lib/ld-musl-aarch64.so.1
3ffd8380000-3ffd83b0000 rw-p 00000000 00:00 0


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [uncommon.mk:822: transdb.h] Aborted
make: *** Waiting for unfinished jobs....
>>> ERROR: ruby: all failed
>>> ruby: Uninstalling dependencies...
~~~



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-23  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-12679.20160816081139@ruby-lang.org>
2016-08-16  8:11 ` [ruby-core:76920] [Ruby trunk Bug#12679] Failed to build ruby on aarch64 with musl libc and gcc 6 clandmeter
2016-08-16  8:12 ` [ruby-core:76921] " clandmeter
2016-09-23 10:11 ` [ruby-core:77367] [Ruby trunk Bug#12679][Feedback] " shyouhei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).