Re: 2.4.7pre8aa1
Andrea Arcangeli (andrea@suse.de)
Fri, 20 Jul 2001 03:37:49 +0200
On Thu, Jul 19, 2001 at 06:45:38PM -0400, Jeff Dike wrote:
> > Only in 2.4.7pre6aa1: 51_uml-ac-to-aa-2.bz2
> > Only in 2.4.7pre8aa1/: 51_uml-ac-to-aa-3.bz2
> > Moved part of it in the tux directory so it can compile
> > without tux (in reality I got errno compilation error
> > but it's low prio and I'll sort it out later, Jeff Dike any
> > hint is welcome ;).
>
> This is the patch I sent to Alan a while back which works around the problem.
>
> rmk suggested a better way which I'll add at some point.
>
> Jeff
>
>
> diff -Naur -X exclude-files ac_cur/arch/um/Makefile ac/arch/um/Makefile
> --- ac_cur/arch/um/Makefile Mon Jul 9 13:05:03 2001
> +++ ac/arch/um/Makefile Mon Jul 9 13:26:21 2001
> @@ -20,6 +20,8 @@
> LINK_PROFILE = $(PROFILE) -Wl,--wrap,__monstartup
> endif
>
> +CFLAGS := $(subst -fno-common,,$(CFLAGS))
> +
> SUBDIRS += $(ARCH_DIR)/fs $(ARCH_DIR)/drivers $(ARCH_DIR)/kernel \
> $(ARCH_DIR)/sys-$(SUBARCH)
works fine thanks! Of course I agree with rmk it would be better not to
disable -fno-common but this is ok for now ;) (after all we would catch
any potential important name collision during the compiles of the other
targets)
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/