Thanks very much for the help.
IPA is not supported on ppc native. And I made some adjustments on "arith"
according to your suggestion. Everything looks fine after these new changes.
A new patch is attached.
Thanks again for your review.
--
Best wishes.
Huan Luo
At 2012-09-27 11:53:38,"David Coakley" <***@gmail.com> wrote:
Just to follow up, I did some testing and 'arith' can be safely excluded when Fortran is not supported. Here is my suggested change to handle that part:
Index: Makefile.in
===================================================================
--- Makefile.in(revision 4030)
+++ Makefile.in(working copy)
@@ -152,8 +152,7 @@
$(NATIVE_BUILD_DIR)/libelfutil \
$(NATIVE_BUILD_DIR)/libdwarf \
$(NATIVE_BUILD_DIR)/libunwindP \
-$(NATIVE_BUILD_DIR)/libcif \
-$(NATIVE_BUILD_DIR)/arith
+$(NATIVE_BUILD_DIR)/libcif
NATIVE_COMPONENTS = $(BASIC_COMPONENTS) $(TARGET_EXTRA_OBJ) \
$(GNU4_FE_COMPONENTS) $(FORT_FE_COMPONENTS) \
@@ -455,8 +454,8 @@
ifeq ($(BUILD_FORTRAN), YES)
$(MAKE) -C $(NATIVE_BUILD_DIR)/crayf90 clobber
$(MAKE) -C $(NATIVE_BUILD_DIR)/whirl2f clobber
-endif
$(MAKE) -C $(NATIVE_BUILD_DIR)/arith clobber
+endif
$(MAKE) -C $(NATIVE_BUILD_DIR)/include clobber
$(MAKE) -C $(NATIVE_BUILD_DIR)/libspin_4_2_0 clobber
ifeq ($(MACHINE_TYPE), ia64)
-David
On Sat, Sep 22, 2012 at 11:31 AM, David Coakley <***@gmail.com> wrote:
Hello,
I looked at the changes. I'm a bit confused by the exclusion of ld-new in Makefile.in:
ifneq ($(LIB_BUILD_ARCH), PPC32)
BASIC_COMPONENTS += \
$(NATIVE_BUILD_DIR_LD)/ld/ld-new
endif
Do you support IPA for this configuration? If not, then you should define BUILD_SKIP_IPA in configure.ac. If you do, then how do you replace ld-new (ipa_link)?
Also, I wonder if 'arith' should be excluded when BUILD_FORTRAN is true? I will check that for the x86 build.
-David
On Wed, Sep 19, 2012 at 12:52 AM, Huan Luo <***@126.com> wrote:
Hi,
In this patch, we adopt the configure-based build system for ppc native.
The build and install process of ppc native compiler is slightly different
from that of x86-ppc cross compiler, which is currently available in the trunk.
We made a few adjustments so that ppc native can be successfully built
and installed. Gcc.c-torture test result shows that this patch doesn't affect
correctness on x86 native or x86-ppc cross systems.
--
Regards
Luo Huan