ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50399] [Ruby trunk Bug#14242] Fails to build ruby 2.5.0 on CentOS 6
       [not found] <redmine.issue-14242.20171226131619@ruby-lang.org>
@ 2017-12-26 13:16 ` yasu
  2017-12-27  0:40 ` [ruby-dev:50402] [Ruby trunk Bug#14242][Rejected] " hsbt
  1 sibling, 0 replies; 2+ messages in thread
From: yasu @ 2017-12-26 13:16 UTC (permalink / raw)
  To: ruby-dev

Issue #14242 has been reported by yasuhirokimura (Yasuhiro KIMURA).

----------------------------------------
Bug #14242: Fails to build ruby 2.5.0 on CentOS 6
https://bugs.ruby-lang.org/issues/14242

* Author: yasuhirokimura (Yasuhiro KIMURA)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
kimura@www10268uf[2018]% cat /etc/redhat-release
CentOS release 6.9 (Final)
kimura@www10268uf[2019]% gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
kimura@www10268uf[2020]% ./configure
(snip)
kimura@www10268uf[2023]% make
(snip)
make[1]: Leaving directory `/home/kimura/work/ruby-2.5.0'
generating transdb.h
transdb.h updated
compiling dln.c
compiling localeinit.c
creating verconf.h
verconf.h updated
compiling loadpath.c
compiling prelude.c
prelude.c: In function 'prelude_eval':
prelude.c:204: error: #pragma GCC diagnostic not allowed inside functions
prelude.c:205: error: #pragma GCC diagnostic not allowed inside functions
prelude.c:221: error: #pragma GCC diagnostic not allowed inside functions
At top level:
cc1: warning: unrecognized command line option "-Wno-self-assign"
cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
make: *** [prelude.o] Error 1
kimura@www10268uf[2024]%

Attached patch fixes the issue.


---Files--------------------------------
ruby-2.5.0-template-prelude.c.tmpl.patch (729 Bytes)


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

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

* [ruby-dev:50402] [Ruby trunk Bug#14242][Rejected] Fails to build ruby 2.5.0 on CentOS 6
       [not found] <redmine.issue-14242.20171226131619@ruby-lang.org>
  2017-12-26 13:16 ` [ruby-dev:50399] [Ruby trunk Bug#14242] Fails to build ruby 2.5.0 on CentOS 6 yasu
@ 2017-12-27  0:40 ` hsbt
  1 sibling, 0 replies; 2+ messages in thread
From: hsbt @ 2017-12-27  0:40 UTC (permalink / raw)
  To: ruby-dev

Issue #14242 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Rejected

It's duplicated with #14234 

----------------------------------------
Bug #14242: Fails to build ruby 2.5.0 on CentOS 6
https://bugs.ruby-lang.org/issues/14242#change-69011

* Author: yasuhirokimura (Yasuhiro KIMURA)
* Status: Rejected
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
kimura@www10268uf[2018]% cat /etc/redhat-release
CentOS release 6.9 (Final)
kimura@www10268uf[2019]% gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) 
kimura@www10268uf[2020]% ./configure
(snip)
kimura@www10268uf[2023]% make
(snip)
make[1]: Leaving directory `/home/kimura/work/ruby-2.5.0'
generating transdb.h
transdb.h updated
compiling dln.c
compiling localeinit.c
creating verconf.h
verconf.h updated
compiling loadpath.c
compiling prelude.c
prelude.c: In function 'prelude_eval':
prelude.c:204: error: #pragma GCC diagnostic not allowed inside functions
prelude.c:205: error: #pragma GCC diagnostic not allowed inside functions
prelude.c:221: error: #pragma GCC diagnostic not allowed inside functions
At top level:
cc1: warning: unrecognized command line option "-Wno-self-assign"
cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
make: *** [prelude.o] Error 1
kimura@www10268uf[2024]%

Attached patch fixes the issue.


---Files--------------------------------
ruby-2.5.0-template-prelude.c.tmpl.patch (729 Bytes)


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

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

end of thread, other threads:[~2017-12-27  0:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-14242.20171226131619@ruby-lang.org>
2017-12-26 13:16 ` [ruby-dev:50399] [Ruby trunk Bug#14242] Fails to build ruby 2.5.0 on CentOS 6 yasu
2017-12-27  0:40 ` [ruby-dev:50402] [Ruby trunk Bug#14242][Rejected] " hsbt

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).