Changes between Initial Version and Version 9 of Ticket #7167


Ignore:
Timestamp:
Mar 25, 2007, 6:22:54 AM (17 years ago)
Author:
jmpp@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7167

    • Property Status changed from new to reopened
    • Property Cc pmq@… markd@… added
    • Property Milestone changed from to Available Ports
    • Property Blocked changed from to 9524
  • Ticket #7167 – Description

    initial v9  
    33I've uncommented the darwin 7 variant in the Portfile.  This gives the following kind of error in the build:
    44
     5{{{
    56if [ x"" != x ]; then \
    67  /opt/local/var/db/dports/build/_Users_steve_Software_Ports_dports_lang_gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/db/dports/build/_Users_steve_Software_Ports_dports_lang_gcc42/work/build/./prev-gcc/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I/opt/local/var/db/dports/build/_Users_steve_Software_Ports_dports_lang_gcc42/work/gcc-4.2-20060204/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat  /opt/local/var/db/dports/build/_Users_steve_Software_Ports_dports_lang_gcc42/work/gcc-4.2-20060204/libiberty/floatformat.c -o pic/floatformat.o; \
     
    2223Warning: the following items did not execute (for gcc42): com.apple.build
    2324Error: Status 1 encountered during processing.
     25}}}
    2426
    2527This error will occur in several places and stages of the build, depending on which of the CFLAGS variables below are used; the above is just the most recent example (which occurred with only XCFLAGS set of the three).  The following spec for darwin7 variant led to a successful build:
    2628
     29{{{
    2730# hope springs eternal! uncommented by sjt
    2831# untested on darwin 7
     
    4144                                BOOT_CFLAGS="-g -O2 -force_cpusubtype_ALL"
    4245}
     46}}}
    4347
    4448The -force_cpusubtype_ALL may not be omitted from any of the three *CFLAGS variables.  Of course it's possible (likely?) that there's a better way to achieve this end, but those are the variables I could find that seemed to be more or less appropriate.