http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60797
Bug ID: 60797 Summary: gcc hangs with error: only weak aliases are supported in this configuration Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: junchao.zhang at gmail dot com On my Mac OS X 10.9.2, when I use gcc to compile this program, test.c, #include <stdio.h> extern int foo __attribute__((alias("bar"))); int main() { return 0; } gcc hangs with countless test.c:3:12: error: only weak aliases are supported in this configuration test.c:3:12: error: only weak aliases are supported in this configuration test.c:3:12: error: only weak aliases are supported in this configuration ...