public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
       [not found] <bug-13906-276@http.gcc.gnu.org/bugzilla/>
@ 2006-02-06 13:49 ` ghazi at gcc dot gnu dot org
  2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
  2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-02-06 13:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ghazi at gcc dot gnu dot org  2006-02-06 13:49 -------
Subject: Bug 13906

Author: ghazi
Date: Mon Feb  6 13:49:41 2006
New Revision: 110642

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110642
Log:

include:

        Backport:
        2006-01-18  DJ Delorie  <dj@redhat.com>

        * md5.h: Include ansidecl.h

        2005-07-03  Steve Ellcey  <sje@cup.hp.com>

        PR other/13906
        * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
        * md5.h (md5_uintptr): New.
        (md5_ctx): Align buffer field.

libiberty:

        Backport:
        2005-07-03  Steve Ellcey  <sje@cup.hp.com>

        PR other/13906
        * md5.c (md5_process_bytes): Check alignment.


Modified:
    branches/gcc-4_0-branch/include/ChangeLog
    branches/gcc-4_0-branch/include/ansidecl.h
    branches/gcc-4_0-branch/include/md5.h
    branches/gcc-4_0-branch/libiberty/ChangeLog
    branches/gcc-4_0-branch/libiberty/md5.c


-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
       [not found] <bug-13906-276@http.gcc.gnu.org/bugzilla/>
  2006-02-06 13:49 ` [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block ghazi at gcc dot gnu dot org
  2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
@ 2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-02-06 14:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ghazi at gcc dot gnu dot org  2006-02-06 14:06 -------
Subject: Bug 13906

Author: ghazi
Date: Mon Feb  6 14:06:55 2006
New Revision: 110643

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110643
Log:
include:

        Backport:
        2006-01-18  DJ Delorie  <dj@redhat.com>

        * md5.h: Include ansidecl.h

        2005-07-03  Steve Ellcey  <sje@cup.hp.com>

        PR other/13906
        * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
        * md5.h (md5_uintptr): New.
        (md5_ctx): Align buffer field.

libiberty:

        Backport:
        2005-07-03  Steve Ellcey  <sje@cup.hp.com>

        PR other/13906
        * md5.c (md5_process_bytes): Check alignment.


Modified:
    branches/gcc-3_4-branch/include/ChangeLog
    branches/gcc-3_4-branch/include/ansidecl.h
    branches/gcc-3_4-branch/include/md5.h
    branches/gcc-3_4-branch/libiberty/ChangeLog
    branches/gcc-3_4-branch/libiberty/md5.c


-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
       [not found] <bug-13906-276@http.gcc.gnu.org/bugzilla/>
  2006-02-06 13:49 ` [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block ghazi at gcc dot gnu dot org
@ 2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
  2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2006-02-06 14:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ghazi at gcc dot gnu dot org  2006-02-06 14:07 -------
Fix backported to 3.4 and 4.0.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu dot org
   Target Milestone|4.1.0                       |3.4.6


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-07-08  0:59 ` brian at dessent dot net
@ 2005-07-12 21:25 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 10+ messages in thread
From: sje at cup dot hp dot com @ 2005-07-12 21:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sje at cup dot hp dot com  2005-07-12 21:24 -------
Fixed for 4.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-07-07 14:56 ` dj at redhat dot com
@ 2005-07-08  0:59 ` brian at dessent dot net
  2005-07-12 21:25 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 10+ messages in thread
From: brian at dessent dot net @ 2005-07-08  0:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From brian at dessent dot net  2005-07-08 00:59 -------
*sigh*  Yes, you're right.  I had cvs upped in libiberty and not include.  Sorry
for the noise.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|brian at dessent dot net    |


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-07-07  7:26 ` brian at dessent dot net
@ 2005-07-07 14:56 ` dj at redhat dot com
  2005-07-08  0:59 ` brian at dessent dot net
  2005-07-12 21:25 ` sje at cup dot hp dot com
  6 siblings, 0 replies; 10+ messages in thread
From: dj at redhat dot com @ 2005-07-07 14:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dj at redhat dot com  2005-07-07 14:56 -------
Subject: Re:  genmodes.c:964: internal compiler error: Bus error in md5_process_block


I can build the latest CVS binutils on x86_64-linux.  Please make sure
you have the include files that correspond to the libiberty you're
using; you can't mix and match them.  If you are using a newer md5.c
than md5.h you're bound to have problems.


-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-07-03 15:40 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-07  7:26 ` brian at dessent dot net
  2005-07-07 14:56 ` dj at redhat dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: brian at dessent dot net @ 2005-07-07  7:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From brian at dessent dot net  2005-07-07 07:25 -------
This change breaks building Cygwin, and probably anything else that uses
libiberty outside of gcc, because 'md5uint_ptr' is only defined in the gcc tree:

make[1]: Entering directory `/usr/src/cygwin/build/libiberty'
if [ x"" != x ]; then \
  ccache gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include  -W
-Wall -pedantic -Wwrite-strings -Wstrict-prototypes  ../../src/libiberty/md5.c
-o pic/md5.o; \
else true; fi
ccache gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include  -W
-Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/md5.c -o
md5.o
../../src/libiberty/md5.c: In function `md5_process_bytes':
../../src/libiberty/md5.c:234: error: `md5_uintptr' undeclared (first use in
this function)
../../src/libiberty/md5.c:234: error: (Each undeclared identifier is reported
only once
../../src/libiberty/md5.c:234: error: for each function it appears in.)
../../src/libiberty/md5.c:234: error: parse error before "buffer"
make[1]: *** [md5.o] Error 1
make[1]: Leaving directory `/usr/src/cygwin/build/libiberty'
make: *** [all-libiberty] Error 2


-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
  2004-01-29  1:03 ` [Bug other/13906] " pinskia at gcc dot gnu dot org
  2005-07-03 15:38 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-03 15:40 ` cvs-commit at gcc dot gnu dot org
  2005-07-07  7:26 ` brian at dessent dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-03 15:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-03 15:40 -------
Subject: Bug 13906

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sje@gcc.gnu.org	2005-07-03 15:40:30

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	PR other/13906
	* md5.c (md5_process_bytes): Check alignment.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libiberty/ChangeLog.diff?cvsroot=gcc&r1=1.587&r2=1.588
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libiberty/md5.c.diff?cvsroot=gcc&r1=1.8&r2=1.9



-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
  2004-01-29  1:03 ` [Bug other/13906] " pinskia at gcc dot gnu dot org
@ 2005-07-03 15:38 ` cvs-commit at gcc dot gnu dot org
  2005-07-03 15:40 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-03 15:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-03 15:38 -------
Subject: Bug 13906

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sje@gcc.gnu.org	2005-07-03 15:38:39

Modified files:
	include        : ChangeLog ansidecl.h md5.h 

Log message:
	PR other/13906
	* ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
	* md5.h (md5_uintptr): New.
	(md5_ctx): Align buffer field.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ChangeLog.diff?cvsroot=gcc&r1=1.197&r2=1.198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/ansidecl.h.diff?cvsroot=gcc&r1=1.23&r2=1.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/md5.h.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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


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

* [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block
  2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
@ 2004-01-29  1:03 ` pinskia at gcc dot gnu dot org
  2005-07-03 15:38 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-29  1:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-29 01:03 -------
It does not happen without --enable-checking because md5 is not used.  The problem is that 
md5_process_block believes it is okay to have unaligned words.  This will effect 3.5.0 also if PCH 
and includes are used and the buffer is not word aligned.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|bootstrap                   |other
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-29 01:03:40
               date|                            |


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


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

end of thread, other threads:[~2006-02-06 14:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-13906-276@http.gcc.gnu.org/bugzilla/>
2006-02-06 13:49 ` [Bug other/13906] genmodes.c:964: internal compiler error: Bus error in md5_process_block ghazi at gcc dot gnu dot org
2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
2006-02-06 14:07 ` ghazi at gcc dot gnu dot org
2004-01-28 23:45 [Bug bootstrap/13906] New: " danglin at gcc dot gnu dot org
2004-01-29  1:03 ` [Bug other/13906] " pinskia at gcc dot gnu dot org
2005-07-03 15:38 ` cvs-commit at gcc dot gnu dot org
2005-07-03 15:40 ` cvs-commit at gcc dot gnu dot org
2005-07-07  7:26 ` brian at dessent dot net
2005-07-07 14:56 ` dj at redhat dot com
2005-07-08  0:59 ` brian at dessent dot net
2005-07-12 21:25 ` sje at cup dot hp 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).