18.4.2011 16:42, kevin diggs kirjoitti:
Hi,
On Thu, Apr 14, 2011 at 8:05 AM, Kai Ruottu<kai.ruottu@xxxxxxxxxxx> wrote:
14.4.2011 11:00, Kai Ruottu kirjoitti:
../../../libgcc/../gcc/libgcc2.c: In function '__popcountdi2':
../../../libgcc/../gcc/libgcc2.c:810: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See<http://gcc.gnu.org/bugs.html> for instructions.
An ICE during the libgcc build so was the problem...
Why did your build die on _popcountdi2? Mine died on _fixunsxfdi???
What does it mean when they die at different places???
My configure command was :
CFLAGS_FOR_TARGET="-Os -m68040" \
../configure --build=i686-linux-gnu --host=i686-linux-gnu \
--target=m68k-netbsdelf1.6.1 --enable-languages=c,c++ \
--libexecdir=/usr/local/lib \
--enable-shared=libstdc++ --disable-threads --disable-nls \
--enable-version-specific-runtime-libs \
--with-sysroot=/opt/host-NetBSD1.6.1_mac68k \
--with-gxx-include-dir=/usr/local/include/c++/4.3.3 \
--with-pkgversion="by Kai Ruottu 2011q1" \
--program-suffix=-m68k-netbsd1.6.1-4.3
So the target libraries made for the target were
tuned for m68040 and optimized for size. This
could be the reason...