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: [PATCH][ARM] bootstrap/38523 arm build fails to link cc1-dummy / configure tweak for stage1


On Sun, 2009-01-11 at 17:43 +0100, Paolo Bonzini wrote:
> >> +elif test "x$enable_checking" = x; then
> >> +  case "${host}" in
> >> +    # Needed to avoid stage1 link failure, see PR bootstrap/38523 for details.
> >> +    arm*-*-linux-gnueabi) stage1_checking=--enable-checking=release ;;
> >> +    *) stage1_checking=--enable-checking=yes,types ;;
> >> +  esac
> >
> > On behalf of people who patch the build system, I suggest an actual
> > description of the problem.
> 
> I am not extremely fond of Laurent's patch.  

I have no preference between my two patches :).

> I'd have preferred -O1,
> as --enable-checking=release may indeed hide some bugs.  I didn't
> complain because ARM crosses are built more often than ARM native
> compilers, because an ARM host does not have anything particularly
> peculiar (IIRC it has unsigned chars, but powerpc-linux also has
> them), and because 25% slowdown is a problem.  (But then, there has
> been talk for years of enabling -O1 for stage1, on the ground that it
> might improve build times... and now 25% slowdown?  Heck...)

The slowdown is -O1 vs -O0 --enable-checking=release (since -O0 alone
doesn't bootstrap) so it's not a real indication of -O1 vs -O0.

If there's a preference on -O1 (and debian builds use -O1) then let's
go with it, the arm native machines are slow so no one expects
fast builds anyway.

Another solution is to do nothing to configure and write some install
documentation instead.

Laurent



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