Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 08:49:07 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: svn commit: r232832 - in head/lib/csu: . amd64 arm common i386-elf mips powerpc powerpc64 sparc64
Message-ID:  <4F5F5053.4090007@freebsd.org>
In-Reply-To: <201203112004.q2BK4ACL024929@svn.freebsd.org>
References:  <201203112004.q2BK4ACL024929@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/11/12 15:04, Konstantin Belousov wrote:
> Author: kib
> Date: Sun Mar 11 20:04:09 2012
> New Revision: 232832
> URL: http://svn.freebsd.org/changeset/base/232832
>
> Log:
>    Stop calling _init/_fini methods from crt1 for dynamic binaries.  Do
>    call preinit, init and fini arrays methods from crt1 for static binaries.
>
>    Mark new crt1 with FreeBSD-specific ELF note.
>
>    Move some common crt1 code into new MI file ignore_init.c, to reduce
>    duplication.  Also, conservatively adjust nearby sources for style.
>
>    Reviewed by:	kan
>    Tested by:	andrew (arm), flo (sparc64)
>    MFC after:	3 weeks
>

This change makes /usr/libexec/cc1 seg fault on init on powerpc64. 
Dynamically linked (and most statically linked) binaries seem to work, 
but there is some remaining problem.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5F5053.4090007>