On Mon, Sep 17, 2012 at 2:00 PM, Gerald Pfeifer <ger...@pfeifer.com> wrote:
> On Mon, 17 Sep 2012, Ian Lance Taylor wrote:
>> Please let me know about any build problems.
>
> i386-unknown-freebsd10.0 now fails as follows.  Others presumably
> have not run into this since "This source file is compiled if the
> unwind library is not available".
>
> /scratch2/tmp/gerald/gcc-HEAD/libbacktrace/nounwind.c:48: warning: no 
> previous prototype for 'backtrace'
> /scratch2/tmp/gerald/gcc-HEAD/libbacktrace/nounwind.c:59: error: conflicting 
> types for 'backtrace_simple'
> /scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.h:130: error: previous 
> declaration of 'backtrace_simple' was here
> gmake[4]: *** [nounwind.lo] Error 1
> gmake[4]: Leaving directory
> `/scratch2/tmp/gerald/OBJ-0917-1906/libbacktrace'
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory
> `/scratch2/tmp/gerald/OBJ-0917-1906/libbacktrace'
> gmake[2]: *** [all-stage1-libbacktrace] Error 2
> gmake[2]: Leaving directory `/scratch2/tmp/gerald/OBJ-0917-1906'
> gmake[1]: *** [stage1-bubble] Error 2
> gmake[1]: Leaving directory `/scratch2/tmp/gerald/OBJ-0917-1906'
> gmake: *** [bootstrap-lean] Error 2
>
>
> Tracked as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54611 .
>
>
> There are two different issues breaking the build here.
>
> The following patch, which I committed as obvious, addresses the second.
> Tested by ensuring the bootstrap on this platform is now only breaking
> due to the first item.

Sorry about that.  Fixed like so.  Committed to mainline.

Ian

2012-09-17  Ian Lance Taylor  <i...@google.com>

        PR bootstrap/54611
        * nounwind.c (backtrace_full): Rename from backtrace.  Add state
        parameter.

Attachment: foo.patch
Description: Binary data

Reply via email to