[Bug target/28185] SIGBUS on IA64 maybe caused by memcpy I
sje at cup dot hp dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 21:21:00 GMT 2006
------- Comment #2 from sje at cup dot hp dot com 2006-09-13 21:21 -------
I tried the test case with ToT, Top of 4.1 branch, and Top of 4.0 branch, the
results are below. My header files show the second argument to shmget to be
size_t (64 bits) but the man page on my system says the second arg is an int.
Who to believe?
In all cases I got the following warnings when compiling:
test.c: In function 'main':
test.c:25: warning: incompatible implicit declaration of built-in function
'memc
py'
test.c:28: warning: incompatible implicit declaration of built-in function
'mems
et'
And the following result when running:
shmget: Invalid argument
addr0 is ffffffffffffffff
addr1 is ffffffffffffffff
Memory fault
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28185
More information about the Gcc-bugs
mailing list