Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 18:57:51 -0453.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD ports list !!!! <freebsd-ports@freebsd.org>
Subject:   Re: 'porting' AMD compiler suite
Message-ID:  <570AE735.2060606@hiwaay.net>
In-Reply-To: <20160410230338.GB24900@server.rulingia.com>
References:  <570ACDB6.1020703@hiwaay.net> <20160410230338.GB24900@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020607060807050604030702
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 04/10/16 18:09, Peter Jeremy wrote:
> On 2016-Apr-10 17:09:04 -0453, "William A. Mahaffey III" <wam@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 :-/ ....

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.


--------------020607060807050604030702
Content-Type: text/plain; charset=UTF-8;
 name="LIST.gmake.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="LIST.gmake.txt"

 
Beginning background gmake all
Initiated at 06:19:22 PM MCDT on Sunday, April 10, 2016
 
gmake first
gmake[1]: Entering directory '/usr/src/contrib/obj'
gmake[1]: Nothing to be done for 'first'.
gmake[1]: Leaving directory '/usr/src/contrib/obj'
gmake phony_targets 
gmake[1]: Entering directory '/usr/src/contrib/obj'
gmake -C osprey/targdir/include
gmake[2]: Entering directory '/usr/src/contrib/obj/osprey/targdir/include'
echo '#ifndef __pathscale_defs_h' > pathscale_defs.h
echo '#define __pathscale_defs_h' >> pathscale_defs.h
echo '#define OPEN64_NAME_PREFIX "open"' >> pathscale_defs.h
echo '#define OPEN64_MAJOR_VERSION_NUM 4' >> pathscale_defs.h
echo '#define OPEN64_MINOR_VERSION_NUM 5' >> pathscale_defs.h
echo '#define OPEN64_MAJOR_VERSION "4"' >> pathscale_defs.h
echo '#define OPEN64_MINOR_VERSION "5"' >> pathscale_defs.h
echo '#define OPEN64_FULL_VERSION "4.5.2.1"' >> pathscale_defs.h
echo '#define OPEN64_GCC_VERSION "3.3.1"' >> pathscale_defs.h
echo '#define OPEN64_GCC40_VERSION "4.0.2"' >> pathscale_defs.h
echo '#define OPEN64_GCC42_VERSION "4.2.0"' >> pathscale_defs.h
echo '#define OPEN64_INSTALL_PREFIX "/usr"' >> pathscale_defs.h
echo '#define OPEN64_TARGET ""' >> pathscale_defs.h
echo '#define OPEN64_PATCH_LEVEL "2.1"' >> pathscale_defs.h 
echo "#endif" >> pathscale_defs.h
Making sys
Making cmplrs
Making libelf
test: -a: unexpected operator
test: -a: unexpected operator
test: -a: unexpected operator
test: -a: unexpected operator
gmake[2]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/include'
gmake -C osprey/targdir/driver
gmake[2]: Entering directory '/usr/src/contrib/obj/osprey/targdir/driver'
hg: not found
gmake first
gmake[3]: Entering directory '/usr/src/contrib/obj/osprey/targdir/driver'
hg: not found
gmake[3]: Nothing to be done for 'first'.
gmake[3]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
gmake driver
gmake[3]: Entering directory '/usr/src/contrib/obj/osprey/targdir/driver'
hg: not found
C      /usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/errors.c
C      /usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/file_utils.c
C      /usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/lang_defs.c
C      /usr/src/contrib/obj/osprey/targdir/driver/../../../../x86_open64-4.5.2.1-1/osprey/driver/string_utils.c
In file included from ../../../../x86_open64-4.5.2.1-1/osprey/driver/string_utils.c:43:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
/usr/src/contrib/obj/osprey/../../x86_open64-4.5.2.1-1/osprey/linux/make/gcommonrules:148: recipe for target 'string_utils.o' failed
gmake[3]: *** [string_utils.o] Error 1
gmake[3]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
../../../../x86_open64-4.5.2.1-1/osprey/driver/Makefile.gbase:225: recipe for target 'default' failed
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory '/usr/src/contrib/obj/osprey/targdir/driver'
Makefile:229: recipe for target 'driver' failed
gmake[1]: *** [driver] Error 2
gmake[1]: Leaving directory '/usr/src/contrib/obj'
Makefile:340: recipe for target 'build' failed
gmake: *** [build] Error 2
        0.52 real         0.29 user         0.23 sys
 
Completed at 06:19:23 PM MCDT on Sunday, April 10, 2016

--------------020607060807050604030702--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?570AE735.2060606>