'porting' AMD compiler suite
William A. Mahaffey III
wam at hiwaay.net
Mon Apr 11 13:53:29 UTC 2016
On 04/10/16 18:57, William A. Mahaffey III wrote:
> On 04/10/16 18:09, Peter Jeremy wrote:
>> On 2016-Apr-10 17:09:04 -0453, "William A. Mahaffey III"
>> <wam at hiwaay.net> wrote:
>>> configure process completed OK, but created a Makefile w/ what seems to
>>> be a bunch of linuxisms in conditionals to allow compilation for
>>> different architectures, see attached orig-Makefile.
>> Have you tried using gmake, rather than the base make?
>>
>
>
> OK, I tried gmake & got the attached, lotta '#include malloc.h' all
> over the place, I'll have to handle that file-by-file :-/ ....
>
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
OK fixed the above w/ find & sed, now I have:
.
.
.
.
In file included from
../../../../x86_open64-4.5.2.1-1/osprey/driver/objects.c:59:
./option_names.h:944: warning: built-in function 'fma' declared as
non-function
C
/usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/phases.c
In file included from
../../../../x86_open64-4.5.2.1-1/osprey/driver/phases.c:69:
./option_names.h:944: warning: built-in function 'fma' declared as
non-function
../../../../x86_open64-4.5.2.1-1/osprey/driver/phases.c: In function
'run_ar':
../../../../x86_open64-4.5.2.1-1/osprey/driver/phases.c:3144: warning:
implicit declaration of function 'get_executable_dir_from_path'
../../../../x86_open64-4.5.2.1-1/osprey/driver/phases.c:3144: warning:
initialization makes pointer from integer without a cast
C
/usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/run.c
In file included from
../../../../x86_open64-4.5.2.1-1/osprey/driver/run.c:86:
./option_names.h:944: warning: built-in function 'fma' declared as
non-function
C
/usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/special_options.c
In file included from
../../../../x86_open64-4.5.2.1-1/osprey/driver/special_options.c:63:
./option_names.h:944: warning: built-in function 'fma' declared as
non-function
GEN version_hg.c
C /usr/src/contrib/obj/osprey/targdir/driver/version_hg.c
LD /usr/src/contrib/obj/osprey/targdir/driver/driver
file_names.o: In function `get_object_file':
file_names.c:(.text+0xe57): warning: warning: tempnam() possibly used
unsafely; consider using mkstemp()
gmake[3]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
gmake last
gmake[3]: Entering directory '/usr/src/contrib/obj/osprey/targdir/driver'
hg: not found
rm -f opencc openCC openf90
ln -s driver opencc
ln -s driver openCC
ln -s driver openf90
gmake[3]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
gmake[2]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
gmake -C osprey/targdir/libiberty
gmake[2]: Entering directory '/usr/src/contrib/obj/osprey/targdir/libiberty'
C
/usr/src/contrib/obj/osprey/targdir/libiberty/../../../../x86_open64-4.5.2.1-1/osprey/libiberty/alloca.c
C
/usr/src/contrib/obj/osprey/targdir/libiberty/../../../../x86_open64-4.5.2.1-1/osprey/libiberty/argv.c
C
/usr/src/contrib/obj/osprey/targdir/libiberty/../../../../x86_open64-4.5.2.1-1/osprey/libiberty/choose-temp.c
C
/usr/src/contrib/obj/osprey/targdir/libiberty/../../../../x86_open64-4.5.2.1-1/osprey/libiberty/concat.c
In file included from /usr/include/sys/types.h:63,
from
../../../../x86_open64-4.5.2.1-1/osprey/libiberty/concat.c:52:
/usr/include/sys/_stdint.h:78: error: two or more data types in
declaration specifiers
/usr/include/sys/_stdint.h:78: error: two or more data types in
declaration specifiers
/usr/src/contrib/obj/osprey/../../x86_open64-4.5.2.1-1/osprey/linux/make/gcommonrules:148:
recipe for target 'concat.o' failed
gmake[2]: *** [concat.o] Error 1
gmake[2]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/libiberty'
Makefile:205: recipe for target 'libiberty' failed
gmake[1]: *** [libiberty] Error 2
gmake[1]: Leaving directory '/usr/src/contrib/obj'
Makefile:340: recipe for target 'build' failed
gmake: *** [build] Error 2
8.01 real 6.34 user 0.57 sys
A bit of poking around yields a 'typedef __uintptr_t uintptr_t;'
statement as line 78 of /usr/include/sys/_stdint.h, where __uintptr_t
isn't defined anywhere .... Any clues ? TIA & have a good one.
--
William A. Mahaffey III
----------------------------------------------------------------------
"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.
More information about the freebsd-ports
mailing list