This is annoying. I have no idea what to do about the gcc version here. Perhaps file an issue for now. Maybe it needs gcc 4.7 to get through.
-viral On Monday, February 16, 2015 at 10:54:14 PM UTC+5:30, Sto Forest wrote: > > Thank you very much for your help viral, > > > *GCC *is set to the latest version > > *root@pithree:/opt/julia/deps/openlibm/src# gcc --version* > *gcc (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2* > *Copyright (C) 2013 Free Software Foundation, Inc.* > > > I've added the override to Make.user. > > I pulled the latest version and ran make again with compiler version > checks disabled. > > *ARM.inc* > *...* > override LLVM_ASSERTIONS=1 > LLVM_FLAGS+="--with-cpu=cortex-a9 --disable-compiler-version-checks > --with-float=hard --with-abi=aapcs-vfp --with-fpu=neon --enable-targets=arm > --enable-optimized --enable-assertions" > ... > > > > There still seems to be a, compiler is not new enough, error for llvm > > checking build system type... arm-unknown-linux-gnueabihf > checking host system type... arm-unknown-linux-gnueabihf > checking target system type... arm-unknown-linux-gnueabihf > checking type of operating system we're going to host on... Linux > checking type of operating system we're going to target... Linux > checking target architecture... ARM > checking whether GCC is new enough... no > configure: error: > The selected GCC C++ compiler is not new enough to build LLVM. Please > upgrade > to GCC 4.7. You may pass --disable-compiler-version-checks to configure to > bypass these sanity checks. > Makefile:528: recipe for target > 'llvm-3.5.1/build_Release+Asserts/config.status' failed > make[1]: *** [llvm-3.5.1/build_Release+Asserts/config.status] Error 1 > Makefile:64: recipe for target 'julia-deps' failed > make: *** [julia-deps] Error 2 > root@pithree:/opt/julia# > > > > > > > > > > > > On Monday, 16 February 2015 11:45:23 UTC, Viral Shah wrote: >> >> You can avoid the openlibm issue for now by adding >> >> override USE_SYSTEM_LIBM=1 >> >> in your Make.user. Can you also file this issue in the openlibm github >> repo, so that it can be fixed. Should be easy. >> >> I wonder why your build is picking up llvm 3.5.0, since ARM.inc uses >> 3.5.1 now. I don't know if that will fix the build problem. Make sure that >> your new gcc is the default (with gcc -v), and if still trouble, add >> --disable-compiler-version-checks to LLVM_FLAGS in the ARM.inc. >> >> -viral >> >> On Monday, February 16, 2015 at 4:12:06 PM UTC+5:30, Sto Forest wrote: >>> >>> After adding in a couple of dependencies, gfortran, cmake, compilation >>> is getting further. >>> >>> There are two current problems: >>> >>> *openlibm* >>> >>> s_creall.c:(.text+0x0): multiple definition of `creal' >>> src/s_creal.c.o:s_creal.c:(.text+0x0): first defined here >>> collect2: error: ld returned 1 exit status >>> Makefile:35: recipe for target 'libopenlibm.so' failed >>> make[3]: *** [libopenlibm.so] Error 1 >>> Makefile:686: recipe for target 'openlibm/libopenlibm.so' failed >>> make[2]: *** [openlibm/libopenlibm.so] Error 2 >>> make[2]: *** Waiting for unfinished jobs.... >>> ar: creating libcerbla.a >>> >>> >>> *LLVM* >>> I upgraded gcc to version *gcc (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2.* >>> >>> However, when running *make *in /opt/julia it errors over the compiler >>> version not being new enough: >>> >>> checking whether GCC is new enough... no >>> configure: error: >>> The selected GCC C++ compiler is not new enough to build LLVM. Please >>> upgrade >>> to GCC 4.7. You may pass --disable-compiler-version-checks to configure >>> to >>> bypass these sanity checks. >>> Makefile:508: recipe for target >>> 'llvm-3.5.0/build_Release+Asserts/config.status' failed >>> make[2]: *** [llvm-3.5.0/build_Release+Asserts/config.status] Error 1 >>> Making all in UTIL >>> >>> >>> Any suggestions from more knowledgeable people would be welcomed :) >>> >>> >>> >>> >>> >>> >>> >>> >>> On Sunday, 15 February 2015 19:04:02 UTC, Sto Forest wrote: >>>> >>>> Thanks Steve I'll give that a try and see how far I get. :) >>>> >>>> >>>> On Sunday, 15 February 2015 01:06:39 UTC, Steve Kelly wrote: >>>>> >>>>> Sto, >>>>> >>>>> I got Julia running on a BeagleBone Black running Debian Jessie a >>>>> couple months back using this process: >>>>> https://github.com/JuliaLang/julia/blob/master/README.arm.md. It >>>>> depends on a few system libraries to run, so I needed to update from >>>>> Wheezy >>>>> to Jessie so it would work. I think some improvements have been made >>>>> since >>>>> then so the build is more self contained. I am pretty sure Raspbian is >>>>> based on Wheezy, but it might be worth a shot with the latest master. >>>>> >>>>> Best, >>>>> Steve >>>>> >>>>> On Sat, Feb 14, 2015 at 3:11 PM, Sto Forest <[email protected]> >>>>> wrote: >>>>> >>>>>> Is there a way to get Julia running on the new Raspberry Pi 2, >>>>>> perhaps under raspbian ? >>>>>> >>>>>> >>>>>> >>>>>
