Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1496

Harcoding arch to 'pentium4' prevents building for 64bit Linux.

    XMLWordPrintableJSON

Details

    • Defect
    • Status: Closed
    • Severe
    • Resolution: Fixed
    • None
    • None
    • None
    • Gentoo Linux 64bit
      g++ (Gentoo 4.4.5 p1.0, pie-0.4.5) 4.4.5
      cmake version 2.8.4
      GNU Make 3.81
      Python 2.6.6
    • Code Review, Product Owner
    • Hide

      No end user testing needed - if the build succeeds, this is ok.

      Show
      No end user testing needed - if the build succeeds, this is ok.
    • Tiny

    Description

      To reproduce

      in the viewer source checkout:

      1. Configure for 64bit, e.g.

        autobuild configure -c DebugOS -- -DWORD_SIZE=64
        

      2. Try to build, e.g.

        autobuild build -c DebugOS --no-configure -- -j1
        

      Expected

      For non-standalone builds:

      • Object files are compiled
      • Build fails at link time due to prebuilts not matching the architecture

      For 'standalone' builds (append -DSTANDALONE=ON to the configuration command):

      • Build succeeds

      Observed

      (same for standalone and non-standalone)

      Scanning dependencies of target cmake
      [  0%] Building CXX object cmake/CMakeFiles/cmake.dir/cmake_dummy.o
      ${SRC_DIR}/indra/cmake/cmake_dummy.cpp:1: error: CPU you selected does not support x86-64 instruction set
      ${SRC_DIR}/indra/cmake/cmake_dummy.cpp:1: error: CPU you selected does not support x86-64 instruction set
      make[2]: *** [cmake/CMakeFiles/cmake.dir/cmake_dummy.o] Error 1
      make[1]: *** [cmake/CMakeFiles/cmake.dir/all] Error 2
      make: *** [all] Error 2
      ERROR: building default configuration returned 2
      For more information: try re-running your command with --verbose or --debug
      

      where ${SRC_DIR} is the location of th used viewer source checkout.

      Regression

      Before autobuild, it was possible to produce 64bit viewers (though only standalone).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boroondas.gupte Boroondas Gupte
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: