[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with libtool needed (Was: Bug#777971: librcsb-core-wrapper: ftbfs with GCC-5)



The GCC5 build log says:

Warning: this seems to be an unsupported operating system.

Very suspicious! (I wish upstream build system stopped here, instead of trying to foolishly trying to build stuff anyway...)

And in etc/platform.sh there's this:

   Linux)
#     Check if it is GCC version 4.x
     gcc_ver=`gcc --version | grep -e " 4\."`
     if [[ -z $gcc_ver ]]
     then
#       It is not GCC version 4.x. Check if it is GCC version 3.x
       gcc_ver=`gcc --version | grep -e " 3\."`
       if [[ -z $gcc_ver ]]
       then
#       It is not GCC version 3.x. Check if it is GCC version 2.x
         gcc_ver=`gcc --version | grep -e "2\."`
         if [[ -z $gcc_ver ]]
         then
#           It is not GCC version 2.x either. Production can not be compiled.
           sysid="unknown"
         else
#           It is GCC version 2.x
           sysid="gnu2"
         fi
       else
#         It is GCC version 3.x
         sysid="gnu3"
       fi
     else
#         It is GCC version 4.x
         sysid="gnu4"
     fi
   ;;

which doesn't take existence of GCC 5 (or later versions) into account.

--
Jakub Wilk


Reply to: