[Top][All Lists]

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

bug report

From: Xiaobo Wang
Subject: bug report
Date: Wed, 13 Dec 2000 18:12:14 -0800

not sure whether it is a bug or I did sth wrong, but reporting it anyway for help.

1.  GMP Version.
   This is the gmp lib used by swan-1.7 package.
   I believe the gmp version is 2.0.1 (from version.c = static char *gmp_version = "2.0.1");

2. Problem description
    I was trying to build gmp code for PowerPC 860/VxWorks on Sun/Solaris.  The compiler complained about the .toc and .csect directives in assemble files.  Following is the output using addmul_1.s as example, but it happens for every assemble file.

   ccppc -O2 -c -g -O addmul_1.s
addmul_1.s: Assembler messages:
addmul_1.s:36: Error: Unknown pseudo-op:  `.toc'
addmul_1.s:37: Error: Unknown pseudo-op:  `.csect'
addmul_1.s:41: Error: Unknown pseudo-op:  `.csect'
addmul_1.s:43: Error: Rest of line ignored. First ignored character is `['.
addmul_1.s:44: Error: Unknown pseudo-op:  `.csect'

  after checking WindRiver manual, it seems the directive .toc and .csect are for RS/600 XCOFF format only.  I am trying to build the code for powerpc 860 ELF format. 

If I comment off the .toc or .cset related code, the code passes compilation.

3.  the confg options
   configure --target=powerpc-wrv-vxworks

4. compiler name and version
    I got the compiler from WindRiver.

ccppc -v
Reading specs from ......./powerpc-gnu/host/sun4-solaris2/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126/specs

gcc driver version cygnus-2.7.2-960126 egcs-971225 tornado 2.0 executing gcc version cygnus-2.7.2-960126

5. output for uname -a
SunOS ganges 5.7 Generic_106541-02 sun4u sparc

6. output of config.guess

7. contents of config.m4
I did not find config.m4 in gmp or any of its sub directories.

hope that helps.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]