This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc: fix segfault from calling free on non-malloc'd area
- From: Paul Gortmaker <paul dot gortmaker at windriver dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Tobias Burnus <burnus at net-b dot de>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Jun 2014 23:40:50 -0400
- Subject: Re: [PATCH] gcc: fix segfault from calling free on non-malloc'd area
- Authentication-results: sourceware.org; auth=none
- References: <1403534578-41451-1-git-send-email-paul dot gortmaker at windriver dot com> <53A88976 dot 1030608 at net-b dot de> <53A88EE5 dot 1060405 at redhat dot com>
[Re: [PATCH] gcc: fix segfault from calling free on non-malloc'd area] On 23/06/2014 (Mon 14:32) Jeff Law wrote:
> On 06/23/14 14:09, Tobias Burnus wrote:
> >This patch broke bootstrapping for me on x86-64-gnu-linux:
> >
> >/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
> >i386 architecture of input file `/usr/lib/crti.o' is incompatible with
> >i386:x86-64 output
>
> >
> >If I revert the patch, it works for me.
> Reverted. Will have to look deeper. Paul, did you bootstrap with
> this patch on the trunk?
Hi Jeff,
I was using the yocto/oe-core build system, and hence it was creating
gcc-cross-initial from its own build system (with ~50 other patches
on gcc-4.9.0 baseline) -- so it isn't 100% identical to a manual
bootstrapping on trunk.
It sounds like Jakub has provided additional details on why this may
have broken bootstrap, as the issue appears to be possibly of wider
scope than I originally reported. I'll revisit it tomorrow morning,
and see what additional details I can provide.
Thanks,
Paul.
--
>
> jeff
>
>