[Lldb-commits] [PATCH] Assorted build fixes

Amit Kulkarni amitkulz at gmail.com
Mon May 16 14:07:55 PDT 2011


>> I am confused, why are people posting patches to lldb-commits?
> Uh, because that's the list where you're supposed to post proposed patches?

I thought, lldb-dev is for patches, and lldb-commits is for a svn/git
archive of actually committed bits.

>> I was also hit with a bunch of these on FreeBSD 8.2
>> stable amd64
>>
>> Chip,
>> thanks for your fixes, I will use them to see how far the compile goes
>> on FreeBSD/Dragonfly amd64.
> Good luck. You'll probably hit a build failure in liblldb.so, though,
> since there's no Host library for FreeBSD or DragonFly BSD.

hitting a build failure much earlier than that in libstdc++. Now
investigate how to workaround that.

This is the last successful line before failure, how much left to
compile successfully? Am I close to 100%? A clarification would be
most welcome from anybody!

llvm[4]: Building Release Archive Library liblldbUtility.a

Thanks

In file included from /usr/include/c++/4.2/ios:47,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/bitset:59,
                 from /stuff/llvm/tools/lldb/tools/driver/Driver.h:16,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.h:27,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.cpp:10:
/usr/include/c++/4.2/bits/localefwd.h:90:35: error: macro "isxdigit"
passed 2 arguments, but takes just 1
In file included from /usr/include/c++/4.2/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2/ios:50,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/bitset:59,
                 from /stuff/llvm/tools/lldb/tools/driver/Driver.h:16,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.h:27,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.cpp:10:
/usr/include/c++/4.2/bits/locale_facets.h:4659:45: error: macro
"isxdigit" passed 2 arguments, but takes just 1
In file included from /usr/include/c++/4.2/ios:47,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/bitset:59,
                 from /stuff/llvm/tools/lldb/tools/driver/Driver.h:16,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.h:27,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.cpp:10:
/usr/include/c++/4.2/bits/localefwd.h:90: error: 'std::isxdigit'
declared as an 'inline' variable
/usr/include/c++/4.2/bits/localefwd.h:90: error: template declaration
of 'bool std::isxdigit'
In file included from /usr/include/c++/4.2/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2/ios:50,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/bitset:59,
                 from /stuff/llvm/tools/lldb/tools/driver/Driver.h:16,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.h:27,
                 from /stuff/llvm/tools/lldb/tools/driver/IOChannel.cpp:10:
/usr/include/c++/4.2/bits/locale_facets.h:4659: error: function
definition does not declare parameters



More information about the lldb-commits mailing list