After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 160052 - Undefined stpcpy causes segfault on IA64
Undefined stpcpy causes segfault on IA64
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
unspecified
Other Linux
: High normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 163285 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-01 04:38 UTC by Ian Wienand
Modified: 2005-01-09 19:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
define _GNU_SOURCE all the time (482 bytes, patch)
2004-12-01 04:40 UTC, Ian Wienand
none Details | Review
Defines _GNU_SOURCE globally. (2.21 KB, patch)
2005-01-09 19:21 UTC, Christian Kellner
none Details | Review

Description Ian Wienand 2004-12-01 04:38:15 UTC
On IA64, an the compiler assumes that an function without a prototype returns a
32 bit integer.  This means if the function actually returns a pointer (64
bits), the top bits are disregarded.

The imported version of neon uses stpcpy(), but stpcpy() requires _GNU_SOURCE to
be defined.  Please define it, possibly as per the included patch.

Thanks,

-i
Comment 1 Ian Wienand 2004-12-01 04:40:09 UTC
Created attachment 34348 [details] [review]
define _GNU_SOURCE all the time
Comment 2 David Mosberger 2005-01-07 22:41:00 UTC
*** Bug 163285 has been marked as a duplicate of this bug. ***
Comment 3 Christian Kellner 2005-01-09 19:21:32 UTC
Created attachment 35744 [details] [review]
Defines _GNU_SOURCE globally.

Patch I am going to commit to HEAD.