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 120960 - Failed to compile gstreamer 0.6.3 with gcc 3.3.1
Failed to compile gstreamer 0.6.3 with gcc 3.3.1
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.6.3
Other Linux
: Normal blocker
: 0.6.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 120805 121105 121773 122238 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-29 01:49 UTC by James Su
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch to fix the compilation problem. (557 bytes, patch)
2003-08-29 01:50 UTC, James Su
none Details | Review

Description James Su 2003-08-29 01:49:19 UTC
Hi, I can not compile gstreamer 0.6.3 with gcc 3.3.1. The error messages are:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Wall -Werror
-DGST_DISABLE_DEPRECATED -g -I../libs -I../include
-DG_LOG_DOMAIN=g_log_domain_gstreamer
-DGST_CACHE_DIR=\"/var/cache/gstreamer-0.6\" -O2 -g -march=i586 -MT
libgstreamer_0.6_la-gstplugin.lo -MD -MP -MF
.deps/libgstreamer_0.6_la-gstplugin.Tpo -c gstplugin.c  -fPIC -DPIC -o
.libs/libgstreamer_0.6_la-gstplugin.lo
gstplugin.c: In function `gst_plugin_load_plugin':
gstplugin.c:183: warning: dereferencing type-punned pointer will break
strict-aliasing rules

The attached patch fixes this problem.
Comment 1 James Su 2003-08-29 01:50:52 UTC
Created attachment 19596 [details] [review]
A patch to fix the compilation problem.
Comment 2 David Schleef 2003-08-30 07:03:51 UTC
*** Bug 120805 has been marked as a duplicate of this bug. ***
Comment 3 David Schleef 2003-08-30 07:09:44 UTC
This is fixed in 0.6.x CVS, both the -Werror slipping into the release
and also the type punning.
Comment 4 Ronald Bultje 2003-09-01 13:04:33 UTC
*** Bug 121105 has been marked as a duplicate of this bug. ***
Comment 5 Stephane Loeuillet 2003-09-08 18:52:35 UTC
*** Bug 121773 has been marked as a duplicate of this bug. ***
Comment 6 Ronald Bultje 2003-09-14 08:38:32 UTC
*** Bug 122238 has been marked as a duplicate of this bug. ***