Professional Web Applications Themes

make.conf question - FreeBSD

Hi. My 4.11 boxes: uname -r 4.11-RELEASE-p1 CPU: 1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH, DTS,ACPI,MMX,FXSR,SSE, SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs 2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,S S,HTT,TM,PBE> make.conf: CPUTYPE=p4 During build i can see: -march=pentiumpro instead of pentium4. On my 5.3 box everything works great. Is this setting not working on FreeBSD 4.x? Or maybe i should set it somewhere else also. -- "How fortunate the man with none." --Dead ...

  1. #1

    Default make.conf question

    Hi.
    My 4.11 boxes:
    uname -r
    4.11-RELEASE-p1
    CPU:
    1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU)
    Origin = "GenuineIntel" Id = 0xf27 Stepping = 7

    Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH, DTS,ACPI,MMX,FXSR,SSE,
    SSE2,SS,HTT,TM,PBE>
    Hyperthreading: 2 logical CPUs

    2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
    Origin = "GenuineIntel" Id = 0xf29 Stepping = 9

    Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,C
    MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,S S,HTT,TM,PBE>

    make.conf:
    CPUTYPE=p4

    During build i can see:
    -march=pentiumpro

    instead of pentium4. On my 5.3 box everything works great. Is this
    setting not working on FreeBSD 4.x? Or maybe i should set it somewhere
    else also.

    --
    "How fortunate the man with none."
    --Dead Can Dance
    Piotr Guest

  2. #2

    Default Re: make.conf question

    On Mon, Apr 11, 2005 at 11:27:22AM +0200, Piotr Gnyp wrote: 

    The version of gcc that comes with FreeBSD 4.x can't do better than
    this, i.e. it doesn't know about optimizations for newer CPUs. In
    practise this isn't important.

    Kris

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWkRoWry0BWjoQKURAjc/AKDqChOF950p00EihMIXs7xIPPiAhgCgolLT
    NchOwY3jy1RikWUmIA1ny/I=
    =G0/T
    -----END PGP SIGNATURE-----

    Kris Guest

  3. #3

    Default Re: make.conf question

    On Mon, 11 Apr 2005, Kris Kennaway <org> wrote:
     

    Ok, so why this:
    # The CPUTYPE variable controls which processor should be targeted for
    # generated code. This controls processor-specific optimizations in
    # certain code (currently only OpenSSL) as well as modifying the value
    # of CFLAGS to contain the appropriate optimization directive to gcc.
    # The automatic setting of CFLAGS may be overridden using the
    # NO_CPU_CFLAGS variable below.
    # Currently the following CPU types are recognized:
    # Intel x86 architecture:
    # (AMD CPUs) k7 k6-2 k6 k5
    # (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386
    # Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4
    #
    # If you experience any problems after setting this flag, please unset
    # it again before submitting a bug report or attempting to modify code.
    # It may be that certain types of software will become unstable after
    being
    # compiled with processor-specific (or higher - see below) optimization
    flags.
    # If in doubt, do not set CPUTYPE or CFLAGS to non-default values.
    #
    #CPUTYPE=i686

    is in /etc/defaults/make.conf in 4.x?

    --
    "How fortunate the man with none."
    --Dead Can Dance
    Piotr Guest

  4. #4

    Default Re: make.conf question

    On Mon, Apr 11, 2005 at 02:05:00PM +0200, Piotr Gnyp wrote:

     
     

    It does exactly what it says it does. What is your confusion?

    Kris
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCWsO6Wry0BWjoQKURArXXAKDJLhCGgl48+9cMwpP2Rh YZdT5esQCg6qFp
    yzBZLzZkgpruFkQYs0Ob0No=
    =UEaE
    -----END PGP SIGNATURE-----

    Kris Guest

Similar Threads

  1. 'make test' question
    By Patrick LeBoutillier in forum PERL Modules
    Replies: 1
    Last Post: January 10th, 06:44 PM
  2. Sort question - make elements with = sign first
    By Randell D. in forum PHP Development
    Replies: 5
    Last Post: September 10th, 07:09 AM
  3. make-kpkg question about version
    By Bill Moseley in forum Debian
    Replies: 1
    Last Post: July 29th, 05:50 AM
  4. newbie question: which make?
    By ac in forum Sun Solaris
    Replies: 2
    Last Post: July 1st, 09:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139