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 113913 - GStreamer port to AIX
GStreamer port to AIX
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.6.0
Other AIX
: Normal normal
: 0.6.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-05-28 16:43 UTC by Laurent Vivier
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gstreamer patch for AIX (201.11 KB, patch)
2003-05-28 16:45 UTC, Laurent Vivier
none Details | Review
gst-plugins patch for AIX (876.58 KB, patch)
2003-05-28 16:46 UTC, Laurent Vivier
none Details | Review
gstreamer diff -u patch for AIX (155.75 KB, patch)
2003-06-11 10:02 UTC, Laurent Vivier
none Details | Review

Description Laurent Vivier 2003-05-28 16:43:51 UTC
Gstreamer doesn't compile on AIX with native compiler (xlc) because xlc
doesn't support variable arguments macro.
xlc is better than gcc on this platform: it produces binaries 15% faster,
50% smaller.
Comment 1 Laurent Vivier 2003-05-28 16:45:28 UTC
Created attachment 16915 [details] [review]
Gstreamer patch for AIX
Comment 2 Laurent Vivier 2003-05-28 16:46:34 UTC
Created attachment 16916 [details] [review]
gst-plugins patch for AIX
Comment 3 David Schleef 2003-05-28 23:01:03 UTC
xlc supports C99.  What version are you using?
Comment 4 Benjamin Otte (Company) 2003-05-30 12:54:23 UTC
Could we get this patches in diff -u format?

It's much easier to read.
Comment 5 Laurent Vivier 2003-06-02 09:04:20 UTC
I use xlC for AIX 4.3, C89 compliant, not c99:

  xlC.C                      3.1.4.0    C    C for AIX Compiler
  xlC.C.data                 3.1.4.0    C    C for AIX Manual Pages
  xlC.C.readme.ibm           3.1.4.0    C    C and C Set ++ for AIX
iFOR/LS
  xlC.aix43.rte              4.0.2.1    C    C Set ++ Runtime for AIX 4.3 
  xlC.cpp                    4.3.0.1    C    C for AIX Preprocessor
  xlC.msg.en_US.C            3.1.4.0    C    C for AIX Compiler Messages
  xlC.msg.en_US.cpp          4.3.0.1    C    C for AIX Preprocessor
Messages
  xlC.msg.en_US.rte          4.0.2.0    C    C Set ++ Runtime
Messages--U.S.
  xlC.rte                    4.0.2.0    C    C Set ++ Runtime 
Comment 6 David Schleef 2003-06-06 02:44:44 UTC
Unfortunately, I don't think this is going to get resolved. 
GStreamer, for better or worse, requires a few C99 features, like
variable argument macros.

I suppose we could make a pre-preprocessor, but that seems rather hokey.
Comment 7 Laurent Vivier 2003-06-10 09:49:05 UTC
OK, I understand your point of view.

I think the current version can be compiled with c99 version of xlc.

But I think the cothreads part is not portable.
Comment 8 David Schleef 2003-06-10 18:05:36 UTC
The core cothreads code doesn't work on a lot of systems. :)  That can
certainly be fixed.  Could you repost the patch in 'diff -u' format?
Comment 9 Laurent Vivier 2003-06-11 10:02:15 UTC
Created attachment 17435 [details] [review]
gstreamer diff -u patch for AIX
Comment 10 Jean-Pierre Dion 2003-10-20 15:05:43 UTC
Any  news about that proposition, is it accepted/integrated or not ?

Thanks.

Jean-Pierre Dion
Comment 11 David Schleef 2003-10-20 18:51:43 UTC
Er, sorry.  I completely lost track of this.  Thanks for reminding.

As I mentioned before, much of the c99 stuff will stay the same. 
There are a bunch of one line changes that should be merged.  I'll
have to spend a bit of time trying to figure out what really needs to
be changed for cothreads.
Comment 12 Thomas Vander Stichele 2003-12-16 16:32:38 UTC
dave, any luck yet on this one ?
sorry for flooding your mailbox :)
Comment 13 alexander.winston 2004-01-29 21:09:13 UTC
Adding the portability keyword.
Comment 14 Benjamin Otte (Company) 2004-01-30 20:30:13 UTC
Added some noncritical parts that still apply to the core.
Comment 15 David Schleef 2004-03-06 01:11:33 UTC
Ok, we probably need a new patch from an AIX-knowledgable person,
since portions of the patch have been applied, but not all.

It's best to just ignore getting the cothreads code working on AIX,
and use the optgthread or basicgthread scheduler.
Comment 16 David Schleef 2004-03-18 02:34:41 UTC
We need to know more information about what is necessary for 0.8.  A
lot of things have changed since 0.6.0.  marking NEEDINFO.
Comment 17 Thomas Vander Stichele 2004-07-06 11:22:42 UTC
AIX patchers, please reply
Comment 18 Thomas Vander Stichele 2004-08-12 08:47:42 UTC
aix people, ping
Comment 19 Christian Fredrik Kalager Schaller 2004-11-25 18:01:54 UTC
Laurent, any update on GStreamer 0.8 and AIX. Can I close this issue?
Comment 20 Laurent Vivier 2004-11-26 08:49:26 UTC
Please, contact Jean-Pierre.Dion@bull.net
Comment 21 Jean-Pierre Dion 2004-11-26 12:28:46 UTC
Christian,

we now have a C99 compliant version of xlc.
You can close this one.
Thanks.

Jean-Pierre