Approved by Sun.
2011/1/13 <s...@open64.net>
> Author: laijx
> Date: 2011-01-13 08:18:26 -0500 (Thu, 13 Jan 2011)
> New Revision: 3459
>
> Modified:
> trunk/osprey/ipa/common/ipc_compile.cxx
> Log:
> re-patch rev 3457. The previous patch tries to change a read-only
> string, which will cause asegmentation fault error.
>
>
> Modified: trunk/osprey/ipa/common/ipc_compile.cxx
> ===================================================================
> --- trunk/osprey/ipa/common/ipc_compile.cxx 2011-01-13 07:26:14 UTC
> (rev 3458)
> +++ trunk/osprey/ipa/common/ipc_compile.cxx 2011-01-13 13:18:26 UTC
> (rev 3459)
> @@ -1112,7 +1112,7 @@
> strcpy (tmpname, outfilename);
> if (Feedback_Filename) {
> fprintf(makefile, "\tcd %s; %s -Wb,-OPT:procedure_reorder=on
> -fb_create %s %s -Wb,-CG:enable_feedback=off -TENV:object_name=_%s\n\n",
> - tmpdir_macro, symtab_command_line, Feedback_Filename,
> symtab_extra_args, proper_name((const string)ipa_basename(outfilename)));
> + tmpdir_macro, symtab_command_line, Feedback_Filename,
> symtab_extra_args, proper_name((const string)ipa_basename(tmpname)));
> } else if (Annotation_Filename) {
> fprintf (makefile, "\t"
> #ifdef KEY
> @@ -1126,10 +1126,10 @@
> #endif
> tmpdir_macro, symtab_command_line,
> Get_Annotation_Filename_With_Path (),
> - symtab_extra_args, proper_name((const
> string)ipa_basename(outfilename)));
> + symtab_extra_args, proper_name((const
> string)ipa_basename(tmpname)));
> } else {
> fprintf(makefile, "\tcd %s; %s -Wb,-OPT:procedure_reorder=on
> %s -Wb,-CG:enable_feedback=off -TENV:object_name=_%s\n\n",
> - tmpdir_macro, symtab_command_line, symtab_extra_args,
> proper_name((const string)ipa_basename(outfilename)));
> + tmpdir_macro, symtab_command_line, symtab_extra_args,
> proper_name((const string)ipa_basename(tmpname)));
> }
> fprintf(makefile, "%s/%s" TARGET_DELIMITER "%s/%s %s/%s\n\n",
> tmpdir_macro, elf_symtab_name,
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
--
Regards,
Lai Jian-Xin
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel