Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
On 10.10.12 22:00, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 12:30 PM, Andreas Tobler wrote: On 10.10.12 17:36, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler wrote: FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit targets. Currently com

Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Ian Lance Taylor
On Wed, Oct 10, 2012 at 12:30 PM, Andreas Tobler wrote: > On 10.10.12 17:36, Ian Lance Taylor wrote: >> >> On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler >> wrote: >>> >>> >>> FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit >>> targets. >>> >>> Currently compilation in libba

Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
On 10.10.12 17:36, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler wrote: FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit targets. Currently compilation in libbacktrace fails due to redefinition of these: - Elf_Ehdr - Elf_Sym - Elf_Shdr I 'fixed'

Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Ian Lance Taylor
On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler wrote: > > FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit > targets. > > Currently compilation in libbacktrace fails due to redefinition of these: > > - Elf_Ehdr > - Elf_Sym > - Elf_Shdr > > I 'fixed' this with ifndef'ing. See b

[patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
Hi, FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit targets. Currently compilation in libbacktrace fails due to redefinition of these: - Elf_Ehdr - Elf_Sym - Elf_Shdr I 'fixed' this with ifndef'ing. See below. Bootstrap passed. Is something like this ok for trunk? Tha