Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2127

Autoconf scripting does not properly account for cross-compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.3
    • Build Process
    • None
    • Ubuntu 12.04 running OpenEmbedded Dylan

    Description

      Trying to get Thrift to Cross-compile within OpenEmbedded to get an ARM based build combined with a full-on SDK for our embedded target. So far, I'm getting this:

      configure:16347: checking for boostlib >= 1.40.0
      configure:16401: arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/fearl/git/dc_image_build/poky/build/tmp/sysroots/beaglebone -c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -I/usr/include conftest.cpp >&5
      cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
      configure:16401: $? = 0

      This means it's grabbing from outside the sysroot- which can present bad results on the cross-compile pass.

      Attachments

        Issue Links

          Activity

            People

              jfarrell Jake Farrell
              svartalf Frank Earl
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: