Testing 31 bit Gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cannot firgure out how to run the testsuite with the 31 bit
libraries and the "-m31" option.

Environment:

 * An s390x machine (64 bit but able to run 31 bit code)
 * Gcc head with some patches built with multilib
 * The resulting libs are located in build/s390x-ibm-linux-gnu
   (64 bit) and build/s390x-ibm-linux-gnu/32 (31 bit).

To run the testsuite with 31 bit, all tests need to be compiled
with "-m31".  According to this page:

  http://gcc.gnu.org/install/test.html

the --target-board= option to the runtest flags should do that, but
it doesn't, e.g.:

  $ make -k check-gcc RUNTESTFLAGS="go-test.exp --target-board=unix/-m31"
  ...
  ERROR: unix/-m31: unhandled architecture
  ...

The page suggests that everything before the first slash is taken
as the "target", followed by the compiler options separated with
slashes.  The alternative syntax does not work either:

> make -jN check-testsuite//test-target/option1/option2/...

  $ check-gcc//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
  make: *** No rule to make target `check-gcc//sh-hms-sim/-m1/'.
  make: *** No rule to make target `check-gcc//sh-hms-sim/-m1/-nofpu'.
  make: *** No rule to make target `check-gcc//sh-hms-sim/-m2/'.
  ...

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux