Thomas E Enebo created JRUBY-6378:
-------------------------------------
Summary: cext fails to compile on 64-bit Ubuntu Oneirc
Key: JRUBY-6378
URL: https://jira.codehaus.org/browse/JRUBY-6378
Project: JRuby
Issue Type: Bug
Components: C Extensions
Affects Versions: JRuby 1.6.5
Reporter: Thomas E Enebo
Assignee: Thomas E Enebo
I believe we can ignore the fact that this is being invoked from within a
community-ruby build. I have not gotten an image to confirm this and it was
only reported for 1.6.5.1 build.
{noformat}
g++ -m64 -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing -W -Wall
-Wno-unused -Wno-parentheses -Werror -Wundef
-I"/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/../..//build"
-I"/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src"
-I"/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/../..//build"/jni
-I"/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src"/include
-I"/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src"/include/ruby
-fPIC -I"/space/jdk/include" -I"/space/jdk/include/linux" -D_REENTRANT
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c
/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/thread.cpp
-o
/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/../..//build/thread.o
make[1]: Leaving directory
`/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src'
/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/thread.cpp:
In function 'int rb_thread_select(int, fd_set*, fd_set*, fd_set*, timeval*)':
/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/thread.cpp:92:26:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
cc1plus: all warnings being treated as errors
make[1]: ***
[/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/cext/src/../..//build/thread.o]
Error 1
make: *** [all] Error 2
BUILD FAILED
/space/src/nb/community-ruby/.hg/nb/harness/suite.xml:184: The following error
occurred while executing this line:
/space/src/nb/community-ruby/o.jruby.distro/build.xml:86: The following error
occurred while executing this line:
/space/src/nb/community-ruby/o.jruby.distro/build.xml:71: The following error
occurred while executing this line:
/space/src/nb/community-ruby/o.jruby.distro/unpatched_source/jruby-1.6.5.1/build.xml:1706:
exec returned: 2
This on 64-bit Ubuntu Oneiric. Just FYI.
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email