Displaying 8 results from an estimated 8 matches for "macho_relocatable_file".
2016 Dec 23
2
3.9 regression with legacy static assert macros (bad type resolution)
...ease_39? I know 3.9.1 final was just tagged, but having it on the branch will make it easier for distributions to find since this is a fairly common pattern, and of course it would be good to fix this regression in 3.9.2 if there is one.
--Jeremy
---
~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegisterNumber > (int)DW_X86_64_RET_ADDR) ?...
2016 Dec 27
2
3.9 regression with legacy static assert macros (bad type resolution)
...s as well?
>>
>> Thanks,
>> Jeremy
>>
>>
>>>
>>> Fred
>>>
>>>>
>>>> --Jeremy
>>>>
>>>>
>>>> ---
>>>>
>>>> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
>>>> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
>>>> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegisterNumb...
2016 Dec 27
3
3.9 regression with legacy static assert macros (bad type resolution)
...eremy
>>>
>>>
>>>>
>>>> Fred
>>>>
>>>>>
>>>>> --Jeremy
>>>>>
>>>>>
>>>>> ---
>>>>>
>>>>> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
>>>>> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
>>>>> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegi...
2016 Dec 23
0
3.9 regression with legacy static assert macros (bad type resolution)
...asier for distributions to find since this is a fairly common pattern, and of course it would be good to fix this regression in 3.9.2 if there is one
I think this was fixed in r280330 (in clang).
Fred
>
> --Jeremy
>
>
> ---
>
> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegisterNumber > (int)DW_X86_64_R...
2016 Dec 24
2
3.9 regression with legacy static assert macros (bad type resolution)
...ed looks like it. I'll pull that into our patchset, but could we get that cherry-picked onto release_39 to benefit others as well?
Thanks,
Jeremy
>
> Fred
>
>>
>> --Jeremy
>>
>>
>> ---
>>
>> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
>> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
>> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegisterNumber > (int)DW_...
2016 Dec 27
0
3.9 regression with legacy static assert macros (bad type resolution)
...d we get that cherry-picked onto release_39 to benefit others as well?
>
> Thanks,
> Jeremy
>
>
>>
>> Fred
>>
>>>
>>> --Jeremy
>>>
>>>
>>> ---
>>>
>>> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
>>> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
>>> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<A>::kMaxRegisterNumber >...
2017 Jan 23
2
3.9 regression with legacy static assert macros (bad type resolution)
...;>> Fred
>>>>>>
>>>>>>>
>>>>>>> --Jeremy
>>>>>>>
>>>>>>>
>>>>>>> ---
>>>>>>>
>>>>>>> ~ $ clang++-mp-3.9 -Wno-invalid-offsetof -c macho_relocatable_file.cpp
>>>>>>> In file included from src/ld/parsers/macho_relocatable_file.cpp:37:
>>>>>>> src/ld/parsers/libunwind/DwarfInstructions.hpp:920:13: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser<...
2013 May 11
1
[LLVMdev] Assertion in the linker on Mac OS X
...(methods). The C strings are stored in the __cstring __TEXT
section and segment. As far as I can see the these sections looks to
have the correct flags and contents.
The problem is I'm getting an assertion in the linker:
http://www.opensource.apple.com/source/ld64/ld64-134.9/src/ld/parsers/macho_relocatable_file.cpp
Line 5024, in Objc1ClassReferences<A>::targetCString. I'm pretty sure
that the value of "fit->binding" should be
"ld::Fixup::bindingByContentBound" but instead it is
"ld::Fixup::bindingDirectlyBound". The definition of these enums are
located here...