RFA: Fix libstdc++/42813, partially fix libstdc++/36101
Paolo Bonzini
bonzini@gnu.org
Fri Jan 22 14:56:00 GMT 2010
Thanks Joern.
> @@ -1929,6 +1929,12 @@ if test -d ${srcdir}/gcc; then
> ;;
> esac
> done
> + # ??? Makefile.def has dependency information, but this is not available
> + # here.
> + # libstdc++-v3 depends on libgomp, so if we want to bootstrap the former, we
> + # also must bootstrap the latter.
> + bootstrap_target_libs=`echo $bootstrap_target_libs | \
> + sed -e "s/,target-libstdc++-v3,/&target-libgomp,/" `
>
> AC_ARG_ENABLE(stage1-languages,
> [ --enable-stage1-languages@<:@=all@:>@ choose additional languages to build during
Please leave out this hunk for now. It's better to always bootstrap
libgomp, for example it would help bootstrapping with
parallelization---which is broken now because of the libgomp spec file,
but would indeed need a bootstrapped libgomp.
I'll take care of this part after you commit.
> @@ -546,7 +546,10 @@ dependencies = { module=configure-target
> dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
> dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
> dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
> -dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
Please leave in this dependency, while adding the new one.
Everything else is okay.
Paolo
More information about the Gcc-patches
mailing list