public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2
@ 2004-04-23 11:03 keith dot briggs at bt dot com
  2004-04-23 12:08 ` [Bug c/15095] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: keith dot briggs at bt dot com @ 2004-04-23 11:03 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]

install@sodium:~/gmp-4.1.2/mpz> /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -
I.. -D__GMP_WITHIN_GMP -I.. -g -O2 -fomit-frame-pointer -mcpu=pentium4 -
march=pentium4 -c aorsmul.c

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here
aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here

Torbjörn Granlund says:
I think this is a bug in the gcc 3.4 parser that causes it to
reject regparm attributes.  I have tried to figure out some
alternative syntax that gcc 3.4 could accept, but found nil.

-- 
           Summary: gcc-3.4.0 fails to compile gmp-4.1.2
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: keith dot briggs at bt dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c/15095] gcc-3.4.0 fails to compile gmp-4.1.2
  2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
@ 2004-04-23 12:08 ` pinskia at gcc dot gnu dot org
  2004-04-25  3:38 ` [Bug target/15095] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-23 12:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-23 11:41 -------
Can you attach the preprocessed source?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/3.5 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
  2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
  2004-04-23 12:08 ` [Bug c/15095] " pinskia at gcc dot gnu dot org
@ 2004-04-25  3:38 ` pinskia at gcc dot gnu dot org
  2004-04-25 15:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25  3:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-25 01:51 -------
See <http://gcc.gnu.org/ml/gcc/2004-03/msg00039.html> for why this was changed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
          Component|c                           |target
           Keywords|                            |rejects-valid
      Known to fail|                            |3.4.0 3.5.0
      Known to work|                            |3.3.3
         Resolution|                            |INVALID
            Summary|gcc-3.4.0 fails to compile  |[3.4/3.5 Regression] gcc-
                   |gmp-4.1.2                   |3.4.0 fails to compile gmp-
                   |                            |4.1.2
   Target Milestone|---                         |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/3.5 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
  2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
  2004-04-23 12:08 ` [Bug c/15095] " pinskia at gcc dot gnu dot org
  2004-04-25  3:38 ` [Bug target/15095] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-04-25 15:53 ` pinskia at gcc dot gnu dot org
  2004-10-04 22:42 ` [Bug target/15095] [3.4/4.0 " pinskia at gcc dot gnu dot org
  2004-10-11 14:14 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25 15:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-25 15:37 -------
*** Bug 15132 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lars dot tetzlaff at gmx dot
                   |                            |net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
  2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
                   ` (2 preceding siblings ...)
  2004-04-25 15:53 ` pinskia at gcc dot gnu dot org
@ 2004-10-04 22:42 ` pinskia at gcc dot gnu dot org
  2004-10-11 14:14 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-04 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 22:42 -------
*** Bug 17830 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ant_diaz at teleline dot es


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
  2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
                   ` (3 preceding siblings ...)
  2004-10-04 22:42 ` [Bug target/15095] [3.4/4.0 " pinskia at gcc dot gnu dot org
@ 2004-10-11 14:14 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-11 14:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 14:14 -------
*** Bug 17932 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ansgar dot radermacher at
                   |                            |cea dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
       [not found] <bug-15095-595@http.gcc.gnu.org/bugzilla/>
  2005-12-14 17:44 ` pinskia at gcc dot gnu dot org
@ 2007-04-17  5:17 ` vingocheng at 126 dot com
  1 sibling, 0 replies; 8+ messages in thread
From: vingocheng at 126 dot com @ 2007-04-17  5:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from vingocheng at 126 dot com  2007-04-17 06:16 -------
The problem still exist. My working environment is :
GCC : gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
GMP : the latest release version (gmp4.1)

During compiling, the error will occur.
But I fount if I remove the code "static void __gmpz_aorsmul _PROTO
((REGPARM_3_1 (mpz_ptr w, mpz_srcptr x, mpz_srcptr y, mp_size_t sub)))
REGPARM_ATTR (1);" , it can be passed.
So to solve the problem, you can remove the static declaration for the
functions that have conflicting type. But I am not sure whether is correct or
not. It only make the process of compiling passed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/15095] [3.4/4.0 Regression] gcc-3.4.0 fails to compile gmp-4.1.2
       [not found] <bug-15095-595@http.gcc.gnu.org/bugzilla/>
@ 2005-12-14 17:44 ` pinskia at gcc dot gnu dot org
  2007-04-17  5:17 ` vingocheng at 126 dot com
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14 17:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-12-14 17:44 -------
*** Bug 25415 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tachapman at ucdavis dot edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15095


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-17  5:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 11:03 [Bug c/15095] New: gcc-3.4.0 fails to compile gmp-4.1.2 keith dot briggs at bt dot com
2004-04-23 12:08 ` [Bug c/15095] " pinskia at gcc dot gnu dot org
2004-04-25  3:38 ` [Bug target/15095] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-04-25 15:53 ` pinskia at gcc dot gnu dot org
2004-10-04 22:42 ` [Bug target/15095] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-10-11 14:14 ` pinskia at gcc dot gnu dot org
     [not found] <bug-15095-595@http.gcc.gnu.org/bugzilla/>
2005-12-14 17:44 ` pinskia at gcc dot gnu dot org
2007-04-17  5:17 ` vingocheng at 126 dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).