Commit 938a1e2
authored
Cmake build update (#120)
For AIX7.2 and
sometimes for AIX7.3 as well (not always)
Build would fail due to unidentified macros in AIX.
Need to link the definitions correctly.
Errors such as these:
In file included from /home/dhruv/LLDB/lldb-for-aix/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp:26:
In file included from /home/dhruv/LLDB/lldb-for-aix/lldb/include/lldb/Breakpoint/Watchpoint.h:18:
In file included from /home/dhruv/LLDB/lldb-for-aix/lldb/include/lldb/Target/Target.h:24:
In file included from /home/dhruv/LLDB/lldb-for-aix/lldb/include/lldb/Core/ModuleList.h:13:
/home/dhruv/LLDB/lldb-for-aix/lldb/include/lldb/Core/ModuleSpec.h:51:27: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
char *str = (char *)path_with_object.c_str();
^
In file included from /home/dhruv/LLDB/lldb-for-aix/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp:98:
/usr/include/sys/ldr.h:168:2: error: unknown type name 'uint'; did you mean 'int'?
__I_FIELDS(__I_INT64, __I_PTR64, __I_FP64, uint ldinfo_flags;)
^
/usr/include/sys/ldr.h:137:2: note: expanded from macro '__I_FIELDS'
uint ldinfo_next; /* offset from current \
^
/usr/include/sys/ldr.h:168:45: error: unknown type name 'uint'; did you mean 'int'?
__I_FIELDS(__I_INT64, __I_PTR64, __I_FP64, uint ldinfo_flags;)
...
...
...1 parent 2c8c436 commit 938a1e2
File tree
2 files changed
+4
-0
lines changed- lldb/source
- Plugins/Process/gdb-remote
- Target
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
0 commit comments