On Sun, Aug 24, 2014 at 1:28 PM, David Coakley <dcoak...@gmail.com> wrote:
>
> Does /usr/lib32/crti.o exist on your system?  If not, try installing the
'gcc-multilib' package.

No, there's no /usr/lib32 folder exist but both /usr/libx32/crti.o
/usr/lib64/crti.o do exist. And I have 'gcc-multilib' installed already.

> Here are all the packages I installed on a desktop 64-bit Ubuntu 14.04
system:
>
> build-essential
> subversion
> flex
> bison
> g++
> gfortran
> gcc-multilib
> gfortran-multilib

I installed the missing gfortran & gfortran-multilib.

Replace 'lib32' to 'libx32':
MULTILIB_OSDIRNAMES = $(shell if file /usr/lib/crti.o  -Lb |fgrep "ELF
32-bit" >/dev/null ; then  echo  "../lib64 ../lib"; elif [ -f
/usr/lib64/crti.o ] ; then echo  "../lib64 ../libx32" ; else echo
"../lib/x86_64-linux-gnu ../libx32" ; fi)

or not replace it, still the same error. This software enviroment has no
problem building gcc 4.8.2 or LLVM with debug mode opened from sourcecode.


-- 
Best Regards,
Yu Rong Tan
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to