This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc64-gnu target


On Thu, Apr 2, 2009 at 2:31 AM, Alan Modra <amodra@bigpond.net.au> wrote:
> powerpc64-gnu builds have been broken for a long time, at least as far
> back as 2003-06-04 when powerpc64-linux became biarch, and changes
> since then have made things worse. ?The length of time probably means
> that the target should be removed, but someone may want to resurrect
> it (or build some other powerpc64 target non-biarch). ?In which case
> the following patch will help.
>
> Incidentally, my powerpc64-gnu build still failed with
> .../driver-rs6000.c:47: error: 'describe_cache' defined but not used
> at which point I decided I'd wasted enough time..
>
> The t-linux64 change came about when I was still trying to use
> t-linux64 on powerpc64-gnu, and found the build dying due to lack of
> tramp.S. ?You need t-ppccomm to build tramp.S, but that file already
> adds tramp.S and darwin-ldouble.c to LIB2FUNCS_EXTRA, so they need not
> be added in t-linux64.
>
> Bootrapped powerpc-linux and powerpc64-linux. ?OK to install?
>
> ? ? ? ?* config.gcc (powerpc64-*-gnu*): Add rs6000/default64.h to tm_file.
> ? ? ? ?Remove a number of t-files from tmake_file.
> ? ? ? ?* config/rs6000/sysv4.opt (mprototype): Name variable target_prototype.
> ? ? ? ?* config/rs6000/sysv4.h (TARGET_PROTOTYPE): Define.
> ? ? ? ?* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
> ? ? ? ?target_prototype, not TARGET_PROTOTYPE.
> ? ? ? ?(LINK_OS_GNU_SPEC): Define.
> ? ? ? ?* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Delete tramp.S
> ? ? ? ?and darwin-ldoubdle.c.

Okay.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]