Discussion:
[Open64-devel] FreeBSD build.
Muhammad Nuzaihan Bin Kamal Luddin
2013-01-25 06:42:32 UTC
Permalink
Hi,

I am having an issue with below.

The build (in porting process) fails at:

C++ /usr/home/muhammad/Open64/osprey/targdir/lw_inline//usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Equal_dims(ARB_HANDLE, ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:151: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:154: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Dim_size(ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:170: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
gmake[3]: *** [ipo_inline.o] Error 1
gmake[3]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[1]: *** [inline] Error 2
gmake[1]: Leaving directory `/usr/home/muhammad/Open64'
gmake: *** [build] Error 2

using FreeBSD 8.2-RELEASE. I hope to use namespace for this but i would like suggestions for this.

My Open64 sources are here:
https://github.com/taqisystems/Open64

Thank you,
Muhammad Nuzaihan Bin Kamal Luddin
C. Bergström
2013-01-25 08:17:56 UTC
Permalink
Post by Muhammad Nuzaihan Bin Kamal Luddin
Hi,
I am having an issue with below.
C++ /usr/home/muhammad/Open64/osprey/targdir/lw_inline//usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:151: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:154: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:170: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
gmake[3]: *** [ipo_inline.o] Error 1
gmake[3]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[1]: *** [inline] Error 2
gmake[1]: Leaving directory `/usr/home/muhammad/Open64'
gmake: *** [build] Error 2
using FreeBSD 8.2-RELEASE. I hope to use namespace for this but i would like suggestions for this.
https://github.com/taqisystems/Open64
Path64 has already been ported to FreeBSD/NetBSD/Solaris. etc

https://github.com/path64/compiler
https://github.com/pathscale/path64-suite
/* Look at path64-suite README for how to build everything */
/* Warning: Do not pull changes from path64 into your open64 fork as the
licenses are incompatible though. */

PathScale also publishes nightly builds of ENZO which includes GPGPU for
FreeBSD
http://c591116.r16.cf2.rackcdn.com/enzo/nightly/FreeBSD/enzo-2013-01-24-installer.run
/* We have a few known issues we need to fix, but your bug reports and
feedback are welcomed */
Muhammad Nuzaihan Bin Kamal Luddin
2013-01-26 00:00:52 UTC
Permalink
Subject: Re: [Open64-devel] FreeBSD build.
Date: January 26, 2013 8:00:20 AM GMT+08:00
Hi Christopher,
Thank you for your reply and the patches you had provided in the past.
I am currently looking at optimizing and producing better code for my embedded appliances which is mostly based on the AMD processor series.
However, as you have noted earlier, my sources are based on the AMD's version of Open64 and thus the license are different than the upstream Open64 sources.
But do note that all my changes in my sources would be in GPLv2 and patches could be re-created from my sources for upstream Open64 code as well.
and thank you for the link for ENZO. Do keep in touch.
Muhammad Nuzaihan Bin Kamal Luddin
Post by C. Bergström
Post by Muhammad Nuzaihan Bin Kamal Luddin
Hi,
I am having an issue with below.
C++ /usr/home/muhammad/Open64/osprey/targdir/lw_inline//usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:151: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:154: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:170: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
gmake[3]: *** [ipo_inline.o] Error 1
gmake[3]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[1]: *** [inline] Error 2
gmake[1]: Leaving directory `/usr/home/muhammad/Open64'
gmake: *** [build] Error 2
using FreeBSD 8.2-RELEASE. I hope to use namespace for this but i would like suggestions for this.
https://github.com/taqisystems/Open64
Path64 has already been ported to FreeBSD/NetBSD/Solaris. etc
https://github.com/path64/compiler
https://github.com/pathscale/path64-suite
/* Look at path64-suite README for how to build everything */
/* Warning: Do not pull changes from path64 into your open64 fork as the licenses are incompatible though. */
PathScale also publishes nightly builds of ENZO which includes GPGPU for FreeBSD
http://c591116.r16.cf2.rackcdn.com/enzo/nightly/FreeBSD/enzo-2013-01-24-installer.run
/* We have a few known issues we need to fix, but your bug reports and feedback are welcomed */
Loading...