从freebsd 7上的源安装ruby2.1.5时出错

时间:2015-03-10 10:03:20

标签: ruby freebsd

我正在尝试在freebsd 7 i386中安装ruby2.2,但它正在抛出以下错误。 有人可以帮助解决它 我

# make
    CC = /usr/local/bin/gcc48
    LD = ld
    LDSHARED = /usr/local/bin/gcc48 -shared
    CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
             -Wno-unused-parameter -Wno-parentheses 
             -Wno-long-long -Wno-missing-field-initializers 
             -Wunused-variable -Wpointer-arith 
             -Wwrite-strings -Wdeclaration-after-statement 
             -Wimplicit-function-declaration 
             -ansi -std=iso9899:199409
    XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector 
              -fno-strict-overflow -fvisibility=hidden 
              -DRUBY_EXPORT -fPIE
    CPPFLAGS =   -I. -I.ext/include/i386-freebsd7.1 -I./include -I.
    DLDFLAGS = -Wl,-soname,showflags -fstack-protector -pie
    SOLIBS =
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc48
COLLECT_LTO_WRAPPER=
/usr/local/libexec/gcc48/gcc/i386-portbld-   freebsd7.1/4.8.3/lto-wrapper
Target: i386-portbld-freebsd7.1
Configured with: ./../gcc-4.8.3/configure 
--disable-bootstrap --disable-nls                
--enable-gnu-indirect-function 
--libdir=/usr/local/lib/gcc48 
--libexecdir=/usr/local/libexec/gcc48 
--program-suffix=48 
--with- as=/usr/local/bin/as 
--with-gmp=/usr/local 
--with-gxx-include-dir=/usr/local/lib/gcc48/include/c++/ 
--with-ld=/usr/local/bin/ld 
--with-pkgversion='FreeBSD Ports Collection' 
--with-system-zlib --disable-libgcj 
--enable-languages=c,c++,objc,fortran 
--prefix=/usr/local --mandir=/usr/local/man 
--infodir=/usr/local/info/gcc48 
--build=i386-portbld-freebsd7.1
Thread model: posix
gcc version 4.8.3 (FreeBSD Ports Collection)
compiling math.c
**math.c: In function 'math_log':
**math.c:466:9: internal compiler error: Segmentation fault: 11
     d += numbits * log(2); /* log(2**numbits) */****
     ^

没有堆栈跟踪,因为展开库不可用 请提交完整的错误报告, 如果合适,请使用预处理来源。

0 个答案:

没有答案
相关问题