[PATCH] Fix the --enable-shared build

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jun 30 08:04:45 PDT 2014


On 29 June 2014 19:17, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> Yes, it looks like a bug in gcc.Given the attached testcase gcc 4.9
> will produce an undefined reference to
> _ZNK4llvm2cl6parserIPKNS_8PassInfoEE9getOptionEj.
>
> I will try to report a bug after dinner.
>

This is now

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659

Given that it is a bug in recent gcc versions, wouldn't it be better
to test for it in cmake/configure and disable the optimization if it
is present?

Cheers,
Rafael




More information about the llvm-commits mailing list