Public bug reported:

LSB Version:    
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric

gcc-4.6-arm-linux-gnueabi:
  Installed: 4.6.1-9ubuntu3cross1.55
  Candidate: 4.6.1-9ubuntu3cross1.55
  Version table:
 *** 4.6.1-9ubuntu3cross1.55 0
        500 http://no.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status


It looks like the arm cross compiler doesn't support --sysroot:

$ mkdir -p mysysroot/usr/include 
$ echo > mysysroot/usr/include/test.h
$ echo "#include <test.h>" > test.cpp

$ arm-linux-gnueabi-cpp-4.6 --sysroot=$PWD/mysysroot test.cpp 
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.cpp"
test.cpp:1:18: fatal error: test.h: No such file or directory
compilation terminated.


Where as the regular cpp works:

cpp --sysroot=$PWD/mysysroot test.cpp

# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "test.cpp"
# 1 "/home/foobar/test/mysysroot/usr/include/test.h" 1 3 4
# 1 "test.cpp" 2

** Affects: gcc-4.6-armel-cross (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/901130

Title:
  No support for --sysroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6-armel-cross/+bug/901130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to