[Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0
howarth at bromo dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Fri Nov 7 21:59:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773
--- Comment #4 from howarth at bromo dot med.uc.edu ---
(In reply to Francois-Xavier Coudert from comment #3)
> I'd like to help, but it's such a mess. There is not one PR per distinct
> issue, but various things reported in long threads.
>
> Regarding the first two patches (libcc1 and ipa-chkp.c), they are
> straightforward and should be approved fast. Don't hesitate to ping them
> every few days.
>
> The "nonlocal goto and setjmp" patch has been committed.
>
> But… the remaining patch
> (https://gcc.gnu.org/bugzilla/attachment.cgi?id=33843) does not appear
> enough to restore bootstrap. I still get:
>
> ld: illegal text reloc in 'std::strstream::strstream()' to 'construction
> vtable for std::basic_ostream<char, std::char_traits<char>
> >-in-std::strstream' for architecture x86_64
>
> is there another patch required?
Did you apply the PA ICF aliasing restriction patch from
https://gcc.gnu.org/bugzilla/attachment.cgi?id=33843? Without it, the new
ipa-icf pass will erroneously attempt alias creation on targets which don't
support (it like MACH-O on darwin). The cryptic "ld: illegal text reloc" error
is emitted from the darwin linker because the use of "-undefined
dynamic_lookup" masks the fact that undefined symbols result from the
inappropriate alias creation.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63622#c12
More information about the Gcc-bugs
mailing list