This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix BFD format matching for x86_64-w64-mingw32 -m32 LTO


On Mon, Feb 15, 2016 at 4:56 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Mon, 15 Feb 2016, H.J. Lu wrote:
>
>> On Mon, Feb 15, 2016 at 4:26 PM, Joseph Myers <joseph@codesourcery.com> wrote:
>> > On Sun, 14 Feb 2016, H.J. Lu wrote:
>> >
>> >> I have a related patch for:
>> >>
>> >> https://bugzilla.redhat.com/show_bug.cgi?id=1174065
>> >>
>> >> I was wondering if it works for you.
>> >
>> > That patch doesn't do anything for my issue; with it applied but not mine,
>> > I still see errors of the form:
>> >
>> > /tmp/ccSAdUaE.o: file not recognized: File format is ambiguous
>> > /tmp/ccSAdUaE.o: matching formats: pe-i386 pei-i386
>> > collect2: error: ld returned 1 exit status
>> >
>>
>> Is your problem related to:
>>
>> https://sourceware.org/bugzilla/show_bug.cgi?id=18199
>
> Only in a very loose sense.
>
>> Is the fix insufficient?
>
> They are separate issues.  See the analysis in my patch posting.
>

Would you mind giving users/hjl/lto-mixed/master branch a try? It
may have fixed your problem in a different way by adding

.+enum bfd_lto_object_type
+.  {
+.    lto_non_object,
+.    lto_non_ir_object,
+.    lto_ir_object,
+.    lto_mixed_object
+.  };


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]