This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.95.2: Unable to access imaginary part...


Hi,

 I am trying to cross-compile the attached file.  The build system is
i386-pc-linux-gnu, the host system is alpha-unknown-linux-gnu.  I am
getting the following error:

/usr/lib/gcc-lib/alpha-linux/2.95.2/cc1 conj.i -quiet -o conj.s
In file included from ../include/bits/cmathcalls.h:1,
                 from ../math/complex.h:88,
                 from ../include/complex.h:1,
                 from conj.c:21:
../math/bits/cmathcalls.h: In function `cimagf':
../math/bits/cmathcalls.h:139: Unable to access imaginary part of complex value in a hard register on this target
make: *** [all] Error 33

 It happens when run as follows:

$ /usr/lib/gcc-lib/alpha-linux/2.95.2/cc1 conj.i -quiet -o conj.s

 The cross-compiler was built as follows:

$ ../configure --prefix=/usr --enable-shared --enable-haifa 
--enable-threads --target=alpha-linux i386-linux
$ make LANGUAGES=c all-gcc

 It reports the following version:

$ /usr/lib/gcc-lib/alpha-linux/2.95.2/cc1 -version
 GNU C version 2.95.2 19991024 (release) (alpha-linux) compiled by GNU C
version 2.95.2 19991024 (release).
 options passed:
 options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
  -fpcc-struct-return -fsched-interblock -fsched-spec -fcommon -fgnu-linker
  -fargument-alias -fident -mno-soft-float -mfp-regs -mgas
  -mmemory-latency=L1

 I am willing to provide any help if needed.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

conj.i.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]