------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2010-04-14 18:53 ------- Subject: Re: ld: Unsatisfied symbol "start" in file c_lto_20091216-1_0.o
> Dave, do you have a patch for this? I see it on ia64 hpux too. Something like this works for hppa*-&-hpux* using gas: Index: gcc.dg/lto/20091216-1_0.c =================================================================== --- gcc.dg/lto/20091216-1_0.c (revision 158347) +++ gcc.dg/lto/20091216-1_0.c (working copy) @@ -1,6 +1,10 @@ /* { dg-lto-do run } */ +#ifdef __hpux +asm (".globl start\nstart: nop"); +#else asm (".globl start; start: nop"); +#endif int main () Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43283