This is the mail archive of the 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: [bootstrap] Fix build for several targets (including pr58242)

On Tue, Sep 03, 2013 at 09:25:31AM +0400, Alexander Ivchenko wrote:
> Several builds are broken after r201838.

What targets actually support bionic?  If it is just arm, i?86/x86_64
and perhaps aarch64 and nothing else, I'd like to question the way where
you enforce all the
  # Add Android userspace support to Linux targets.
  case $target in
      tm_p_file="${tm_p_file} linux-protos.h"
      tmake_file="${tmake_file} t-linux-android"
      tm_file="$tm_file linux-android.h"
      extra_options="$extra_options linux-android.opt"
      extra_objs="$extra_objs linux-android.o"
stuff onto all Linux targets, without actually testing all of them.
Wouldn't it be much better not to support Android in any way
in config/linux.h (say at most #define TARGET_HAS_BIONIC 0 there,
#define TARGET_LIBC_HAS_FUNCTION hook_bool*true
etc.), and append the android stuff only to targets which you
support, not before the target specific snippets in config.gcc,
but after those (so linux-android.h, etc. come last, not first)?


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