[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/16544] Gold crashes with plugin
From: |
ccoutant at google dot com |
Subject: |
[Bug gold/16544] Gold crashes with plugin |
Date: |
Tue, 11 Feb 2014 19:22:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16544
Cary Coutant <ccoutant at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|ian at airs dot com |ccoutant at google dot
com
--- Comment #2 from Cary Coutant <ccoutant at google dot com> ---
The problem is that gold hasn't yet seen any real (i.e., non-plugin) .o files
to establish what the target architecture is. Before plugins, this really was a
"can't happen" path; hence the internal error. It shouldn't be diagnosed as an
internal error in this case, but we really need to see a real .o before
anything else. Normally, the compiler passes in various startup files.
There's no simple way of relaxing this requirement, short of changing the
plugin API to allow the plugin to specify the target architecture if necessary.
I can fix it to print a real diagnostic, but I don't plan to support the case
where all input files are claimed by the plugin.
--
You are receiving this mail because:
You are on the CC list for the bug.