thurday / libjit-linear-scan-register-allocator

Automatically exported from code.google.com/p/libjit-linear-scan-register-allocator
0 stars 0 forks source link

sigsetjmp undeclared #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install cygwin and svn co libjit
2. auto_gen.sh
3. ./configure
4. make

What is the expected output? What do you see instead?
I expected succesfull build, but i see mistake:

jite-linear-scan-i486.c: In function `jite_compute_register_holes':
jite-linear-scan-i486.c:4082: error: `sigsetjmp' undeclared (first use in 
this function)

What version of the product are you using? On what operating system?
I use head version from svn repo. Windows XP SP3 + cygwin. gcc3 + mingw

Please provide any additional information below.
Maybe problem is sigsetjmp is macro in cygwin? Could you please suggest any 
way to build libjit on windows, so i could use it for my interpreter? 
Thanx.

Original issue reported on code.google.com by alexande...@gmail.com on 3 Jan 2010 at 11:53

GoogleCodeExporter commented 9 years ago
on linux there is no problems:
gcc -v:
Используются внутренние спецификации.
Целевая архитектура: i686-pc-linux-gnu
Параметры конфигурации: 
/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure 
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.4 --
includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include 
--datadir=/usr/share/gcc-
data/i686-pc-linux-gnu/4.3.4 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/info --with-gxx-include-
dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4 
--host=i686-pc-linux-gnu --
build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --
without-included-gettext --with-system-zlib --disable-checking --disable-werror 
--
enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp 
--enable-
libgomp --disable-libgcj --with-arch=i686 
--enable-languages=c,c++,treelang,fortran -
-enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu --
with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.4 p1.0, 
pie-10.1.5'
Модель многопоточности: posix
gcc версия 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)

on cygwin:
gcc -v:
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure -
-verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/s
hare/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --wit
hout-included-gettext --enable-version-specific-runtime-libs --without-x --enabl
e-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-li
bgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registr
y --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debu
g
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

Original comment by alexande...@gmail.com on 3 Jan 2010 at 11:55

GoogleCodeExporter commented 9 years ago
Thank you very much. This has been fixed.

Original comment by kirill.k...@gmail.com on 15 Feb 2010 at 9:40

GoogleCodeExporter commented 9 years ago
I also have the same problem but I am building it with MinGW instead of Cygwin.
What should I do?

Original comment by bjoernze...@googlemail.com on 30 Nov 2012 at 2:34