[Bug 20380] New: Fails to build under GNU/Linux Powerpc

Bug ID 20380
Summary Fails to build under GNU/Linux Powerpc
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter sylvestre@debian.org
Classification Unclassified

LLDB fails to build under GNU/Linux powerpc:

if  g++-4.9 -I/«PKGBUILDDIR»/build-llvm/include
-I/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi -I/«PKGBUILDDIR»/include
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi  -DNDEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/../../include
-I/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/../../include
-I/«PKGBUILDDIR»/tools/clang/include
-I/«PKGBUILDDIR»/build-llvm/tools/clang/include
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/../../source
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/../../source/Utility
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/../../source/Plugins/Process/Utility
-I/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/../../source/Plugins/Process/POSIX
-I/usr/include/python2.7 -I/usr/include/powerpc-linux-gnu/python2.7
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fomit-frame-pointer
-std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fPIC
-Woverloaded-virtual -ffunction-sections -fdata-sections -Wcast-qual
-fno-strict-aliasing -std=c++0x -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -Wall -W -Wno-unused-parameter
-Wwrite-strings  -Wno-unknown-pragmas -Wno-sign-compare -Wno-sign-compare
-Wno-unused-function   -Wno-maybe-uninitialized -Wno-missing-field-initializers
-c -MMD -MP -MF
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.d.tmp"
-MT
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.o"
-MT
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.d"
/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp -o
/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.o
; \
        then /bin/mv -f
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.d.tmp"
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.d";
else /bin/rm
"/«PKGBUILDDIR»/build-llvm/tools/lldb/tools/lldb-mi/Release/MICmnLogMediumFile.d.tmp";
exit 1; fi
/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp: In member
function 'bool CMICmnLogMediumFile::FileFormFileNamePath()':
/«PKGBUILDDIR»/tools/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp:225:20: error:
'CMIUtilSystem' was not declared in this scope
  if( CMIUtilSystem().GetLogFilesPath( strPathName ) )
                    ^

Full log:
[https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=powerpc&ver=1%3A3.5~svn213451-1&stamp=1405816471](https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=powerpc&ver=1%3A3.5~svn213451-1&stamp=1405816471)

Sylvestre Ledru changed bug 20380

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |

Comment # 9 on bug 20380 from Sylvestre Ledru

(In reply to comment #8)
> (In reply to comment #7)
> > Your tests are OK ?
> 
> Yeap, all is good. 
Thanks, Commit as r214291.

> After I test mesa, in Ubuntu we will probably switch to
> 3.5 by default now.
That sounds premature and too early for me.
You should wait at least for the final version.