Re: [Open64-devel] Open64 and glibc-2
Brought to you by:
ributzka,
suneeljain
From: Jian-Xin L. <la...@gm...> - 2007-07-19 02:00:15
|
I guess those symbols (`__ctype_b_loc') are not implemented in the prebuilt libraries. They should belong to glibc. There is a workaround to build the compiler and libraries: 1. download and install the Open64 4.0 binaries 2. Add the <root_of_open64_4.0>/bin to your $PATH 3. build the compiler and libraries using Open64 4.0 by this command: $ make BUILD_COMPILER=OSP $ make library BUILD_COMPILER=OSP 2007/7/19, Jiahua He <ji...@gm...>: > > But why do we need to prebuilt the libraries? I tried "make library" > but it needs opencc in cycle and segmentation faults happened. Then I > tried "make library BUILD_COMPILER=GNU" and succeeded to build > libfortran.a and libffio.a but met invalid options while compiling > libmv. After "make install", the new libfortran.a and libffio.a work > for my small applications. However, when I tried "make library" with > opencc again, I got the same errors as follows: > > Signal: Segmentation fault in Reading WHIRL file phase. > Error: Signal Segmentation fault in phase Reading WHIRL file -- > processing aborted > *** Internal stack backtrace: > opencc INTERNAL ERROR: > /home/ncsa/jiahua/open64-4.0/lib/gcc-lib/ia64-open64-linux/4.0/inline > died due to signal 4 > Please report this problem to http://bugs.open64.net/ > Problem report saved as > /home/ncsa/jiahua/.open64-bugs/opencc_error_CilkOJ.i > Please review the above file and, if possible, attach it to your problem > report. > make[2]: *** [vacos.o] Error 1 > make[2]: Leaving directory `/home/ncsa/jiahua/open64-4.0 > /osprey/targia64/libmv' > > I don't understand why prebuilding is necessary. How can I get around > the problem and build my own libraries from scratch? Thanks! > > Jiahua > > > > 2007/7/17, Jian-Xin Lai <la...@gm...>: > > It seems those functions are not implemented in an older glibc. > > > > > > 2007/7/18, Jiahua He <ji...@gm...>: > > > > > > Hi all, > > > > > > I tried to compile Open64 on an IA-64 machine with glibc-2. "make all > > > BUILD_OPTIMIZE=DEBUG" and "make install" can go through. But when I > > > use openf90 to compile my applications, it always reports the attached > > > errors even for a simple "Hello world!" program. But it works on > > > another x86-64 machine with glibc-3. What is the problem? > > > Are libfortran.a and libffio.a prebuilt? How can I go around the > problem? > > > > > > Thanks! > > > > > > Jiahua > > > > > > > > > !!! DevWarn during Global Optimization -- Verify CODEMAP: WOVP doesn't > > > take OPR_MSTORE as candidate! > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(wf90.o)(.text+0x6d2): > > > In function `setup_format': > > > ../../libf/include/f90io.h:559: undefined reference to `__ctype_b_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(fmtparse.o > )(.text+0x1e92): > > > In function `process_defg': > > > ../../libf/fio/fmtparse.c:656: undefined reference to > > `__ctype_toupper_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(fmtparse.o > )(.text+0x3592): > > > In function `process_t': > > > ../../libf/fio/fmtparse.c:863: undefined reference to > > `__ctype_toupper_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(fmtparse.o > )(.text+0x4932): > > > In function `process_minus': > > > ../../libf/fio/fmtparse.c:1066: undefined reference to > > `__ctype_toupper_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(fmtparse.o > )(.text+0x5202): > > > In function `process_paren_group': > > > ../../libf/fio/fmtparse.c:1259: undefined reference to > > `__ctype_toupper_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a(fmtparse.o > )(.text+0x5462):../../libf/fio/fmtparse.c:1211: > > > undefined reference to `__ctype_toupper_loc' > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libfortran.a( > > fmtparse.o)(.text+0x5e72):../../libf/fio/fmtparse.c:1602: > > > more undefined references to `__ctype_toupper_loc' follow > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libffio.a(asnenv.o)(.text+0x2a22): > > > In function `_ae_internalize_file': > > > ../../libu/util/asnenv.c:1075: undefined reference to `__ctype_b_loc' > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libffio.a(asnenv.o > )(.text+0x2ab2):../../libu/util/asnenv.c:1075: > > > undefined reference to `__ctype_b_loc' > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libffio.a(asnenv.o)(.text+0x3572): > > > In function `_lae_get_format': > > > ../../libu/util/asnenv.c:1263: undefined reference to `__ctype_b_loc' > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libffio.a(asnenv.o)(.text+0x36f2): > > > In function `convert_hybrid': > > > ../../libu/util/asnenv.c:1298: undefined reference to `__ctype_b_loc' > > > /home/ncsa/jiahua/open64- > > 4.0//lib/gcc-lib/ia64-open64-linux/4.0/libffio.a(asnenv.o > )(.text+0x4c02): > > > In function `_asndir_split': > > > ../../libu/util/asnenv.c:1544: undefined reference to `__ctype_b_loc' > > > > > /home/ncsa/jiahua/open64-4.0 > //lib/gcc-lib/ia64-open64-linux/4.0/libffio.a( > > asnenv.o)(.text+0x4c92):../../libu/util/asnenv.c:1544: > > > more undefined references to `__ctype_b_loc' follow > > > collect2: ld returned 1 exit status > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Open64-devel mailing list > > > Ope...@li... > > > https://lists.sourceforge.net/lists/listinfo/open64-devel > > > > > > > > > > > -- > > Regards, > > Lai Jian-Xin > -- Regards, Lai Jian-Xin |