* bk-linuxppc_2_4 mpc8xx compile fix
@ 2001-02-08 19:09 Magnus Damm
2001-02-08 19:28 ` Dan Malek
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2001-02-08 19:09 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I recently tried to compile a fresh bitkeeper linuxppc_2_4 tree for
mpc8xx:
arch/ppc/kernel/kernel.o: In function `SoftwareEmulation':
arch/ppc/kernel/kernel.o(.text+0xa04): undefined reference to
`Soft_emulate_8xx'
arch/ppc/kernel/kernel.o(.text+0xa04): relocation truncated to fit:
R_PPC_REL24 Soft_emulate_8xx
make: *** [vmlinux] Error 1
The relevant .config line:
# CONFIG_MATH_EMULATION is not set
I will probably not get the nobelprize for the fix,
but is works for me... =)
Cheers /
Magnus
diff -urN linux-2.4.1/arch/ppc/kernel/Makefile
linux-2.4.1-cllf_ok/arch/ppc/kern
el/Makefile
--- linux-2.4.1/arch/ppc/kernel/Makefile Tue Jan 23 00:41:15 2001
+++ linux-2.4.1-cllf_ok/arch/ppc/kernel/Makefile Wed Feb 7
11:32:08 2001
@@ -56,7 +56,13 @@
else
obj-$(CONFIG_PPC) += hashtable.o
endif
-obj-$(CONFIG_MATH_EMULATION) += softemu8xx.o
+
+ifeq ($(CONFIG_8xx),y)
+ifneq ($(CONFIG_MATH_EMULATION),y)
+obj-$(CONFIG_8xx) += softemu8xx.o
+endif
+endif
+
obj-$(CONFIG_MBX) += i8259.o
obj-$(CONFIG_APUS) += apus_setup.o
obj-$(CONFIG_ALL_PPC) += pmac_pic.o pmac_setup.o pmac_time.o
prom.o \
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bk-linuxppc_2_4 mpc8xx compile fix
2001-02-08 19:09 bk-linuxppc_2_4 mpc8xx compile fix Magnus Damm
@ 2001-02-08 19:28 ` Dan Malek
0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2001-02-08 19:28 UTC (permalink / raw)
To: Magnus Damm; +Cc: linuxppc-embedded
Magnus Damm wrote:
> arch/ppc/kernel/kernel.o: In function `SoftwareEmulation':
> arch/ppc/kernel/kernel.o(.text+0xa04): undefined reference to
> `Soft_emulate_8xx'
> arch/ppc/kernel/kernel.o(.text+0xa04): relocation truncated to fit:
> R_PPC_REL24 Soft_emulate_8xx
> make: *** [vmlinux] Error 1
>
> The relevant .config line:
>
> # CONFIG_MATH_EMULATION is not set
The intention here is to remove the old, original, half-assed emulate
a few instructions function. Either you get floating point emulation
or you don't. I wrote the original version long ago before there was
floating point emulation, just to make a little forward progress. It's
time to remove it and I guess the Makefiles, configuration, and real
code files didn't get updated together.
Use whatever works (you won the prize :-), and it will be fixed up
shortly.
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-08 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-08 19:09 bk-linuxppc_2_4 mpc8xx compile fix Magnus Damm
2001-02-08 19:28 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).