From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: sid@sources.redhat.com
Cc: binutils@sourceware.org, dj@redhat.com
Subject: Re: sid build issues
Date: Tue, 18 Aug 2009 19:02:00 -0000 [thread overview]
Message-ID: <20090818190150.GH30742@gmx.de> (raw)
In-Reply-To: <20090818054018.GD28254@gmx.de>
More sid build issues (thanks Matthias for the 'make -jN' hint!)
6) sid/component/cgen-cpu/mep/Makefile.in comes from Automake 1.9.5;
regenerating it with 1.9.6 leads to this error,
when building on i686-pc-linux-gnu:
| make[7]: *** No rule to make target `mep-ivc2.lo', needed by `libmep.la'. Stop.
| make[7]: Leaving directory `/tmp/b-386/sid/component/cgen-cpu/mep'
The last ChangeLog entry regarding this Makefile.am is
| 2009-04-30 DJ Delorie <dj@redhat.com>
|
| * Makefile.am: Regenerate.
| * Makefile.in: Regenerate.
| * common_model.cxx: Regenerate.
[...]
| * ivc2-cop.cxx: New.
| * ivc2-cpu.h: New.
| * ivc2.h: New.
OK to apply the patch below?
Thanks,
Ralf
sid/component/cgen-cpu/mep/ChangeLog:
2009-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am (CPU_SOURCES): Replace mep-ivc2.cxx with
ivc2-cop.cxx.
* Makefile.in: Regenerate.
diff --git a/sid/component/cgen-cpu/mep/Makefile.am b/sid/component/cgen-cpu/mep/Makefile.am
index 54741c6..180901f 100644
--- a/sid/component/cgen-cpu/mep/Makefile.am
+++ b/sid/component/cgen-cpu/mep/Makefile.am
@@ -11,7 +11,7 @@ CXXFLAGS = $(TOP_CXXFLAGS) -DHAVE_CONFIG_H
pkgdata_DATA = hw-cpu-mep.txt
-CPU_SOURCES = mep-core1-decode.cxx mep-core1-sem.cxx mep-core1-model.cxx mep-cop1-16-decode.cxx mep-cop1-16-sem.cxx mep-cop1-16-model.cxx mep-cop1-32-decode.cxx mep-cop1-32-sem.cxx mep-cop1-32-model.cxx mep-cop1-48-decode.cxx mep-cop1-48-sem.cxx mep-cop1-48-model.cxx mep-cop1-64-decode.cxx mep-cop1-64-sem.cxx mep-cop1-64-model.cxx mep-ivc2.cxx
+CPU_SOURCES = mep-core1-decode.cxx mep-core1-sem.cxx mep-core1-model.cxx mep-cop1-16-decode.cxx mep-cop1-16-sem.cxx mep-cop1-16-model.cxx mep-cop1-32-decode.cxx mep-cop1-32-sem.cxx mep-cop1-32-model.cxx mep-cop1-48-decode.cxx mep-cop1-48-sem.cxx mep-cop1-48-model.cxx mep-cop1-64-decode.cxx mep-cop1-64-sem.cxx mep-cop1-64-model.cxx ivc2-cop.cxx
libmep_la_SOURCES = mep.cxx common_model.cxx mep-decode.cxx mep-sem.cxx mep-model.cxx $(CPU_SOURCES)
libmep_la_LDFLAGS =
7) On Cygwin, a native src build with
--disable-shared --disable-binutils
fails (after fixing or working around previously mentioned errors)
inside sid/ with:
| Making all in fpu
| make[8]: Entering directory `/tmp/build/sid/component/bochs/cpu/fpu'
| if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../../src/sid/component/bochs/cpu/fpu -I../.. -I../../../../../../src/sid/component/bochs/cpu/fpu/../.. -I../../../../../../src/sid/component/bochs/cpu/fpu -I../../../../../../src/sid/component/bochs/cpu/fpu/stubs -DUSE_WITH_CPU_SIM -DPARANOID -DNO_ASSEMBLER -g -O2 -MT wmFPUemu_glue.lo -MD -MP -MF ".deps/wmFPUemu_glue.Tpo" -c -o wmFPUemu_glue.lo ../../../../../../src/sid/component/bochs/cpu/fpu/wmFPUemu_glue.cc; \
| then mv -f ".deps/wmFPUemu_glue.Tpo" ".deps/wmFPUemu_glue.Plo"; else rm -f ".deps/wmFPUemu_glue.Tpo"; exit 1; fi
| g++ -DHAVE_CONFIG_H -I. -I../../../../../../src/sid/component/bochs/cpu/fpu -I../.. -I../../../../../../src/sid/component/bochs/cpu/fpu/../.. -I../../../../../../src/sid/component/bochs/cpu/fpu -I../../../../../../src/sid/component/bochs/cpu/fpu/stubs -DUSE_WITH_CPU_SIM -DPARANOID -DNO_ASSEMBLER -g -O2 -MT wmFPUemu_glue.lo -MD -MP -MF .deps/wmFPUemu_glue.Tpo -c ../../../../../../src/sid/component/bochs/cpu/fpu/wmFPUemu_glue.cc -o wmFPUemu_glue.o
| In file included from ../../../../../../src/sid/component/bochs/cpu/fpu/fpu_emu.h:82,
| from ../../../../../../src/sid/component/bochs/cpu/fpu/wmFPUemu_glue.cc:32:
| ../../../../../../src/sid/component/bochs/cpu/fpu/stubs/asm/sigcontext.h:17: error: redefinition of `struct _fpstate'
| /usr/include/cygwin/signal.h:18: error: previous definition of `struct _fpstate'
| make[8]: *** [wmFPUemu_glue.lo] Error 1
| make[8]: Leaving directory `/tmp/build/sid/component/bochs/cpu/fpu'
| make[8]: Entering directory `/tmp/build/sid/component/bochs/cpu'
| make[8]: *** No rule to make target `fpu/libfpu.la', needed by `libcpu.la'. Stop.
Here, the _fpstate in sid has a 'struct _fpreg _st[8]; unsigned long
status;' where cygwin has a 'char _st[80]; unsigned long nxst;'.
Help?
Thanks,
Ralf
next prev parent reply other threads:[~2009-08-18 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-18 5:40 Ralf Wildenhues
2009-08-18 19:02 ` Ralf Wildenhues [this message]
2009-08-18 19:08 ` DJ Delorie
2009-08-18 19:13 ` Frank Ch. Eigler
2009-08-23 18:02 ` Ralf Wildenhues
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090818190150.GH30742@gmx.de \
--to=ralf.wildenhues@gmx.de \
--cc=binutils@sourceware.org \
--cc=dj@redhat.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).