Ticket #692 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

SDK-support broken

Reported by: fkuehne Assigned to:
Priority: high Milestone: 0.9.0-test1
Component: Build system Version: master
Severity: critical Keywords:
Cc: fkuehne Platform(s): MacOS
Difficulty: unknown Work status: Not started

Description

The SDK-support on PowerPC Macs is broken, which used to enable builds created on 10.4 to run on 10.3.

Linking VLC with SDK-support fails like this:

g++ -Wsign-compare -Wsign-compare -Wall -I/Users/buildslave/slave/nb-g5-osx-trunk/build/./extras/contrib/include -D_INTL_REDIRECT_MACROS -DMACOSX_DEPLOYMENT_TARGET=10.3 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk -pipe -isysroot /Developer/SDKs/MacOSX10.3.9.sdk -Wl,-syslibroot -Wl,/Developer/SDKs/MacOSX10.3.9.sdk -o vlc vlc-vlc.o -g -framework vecLib /Users/buildslave/slave/nb-g5-osx-trunk/build/./extras/contrib/lib/libintl.dylib -framework vecLib -framework QuickTime -framework Carbon -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework IOKit -framework Cocoa -framework Carbon -framework QuickTime -ObjC -framework OpenGL -framework AGL -Wl,-bind_at_load  -L/Users/buildslave/slave/nb-g5-osx-trunk/build/./extras/contrib/lib src/libvlc.a ./modules/misc/memcpy/libmemcpyaltivec.a ./modules/video_chroma/libi420_yuy2_altivec.a ./modules/demux/liblive555.a ./modules/mux/mpeg/libmux_ts.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a ./modules/codec/libquicktime.a ./modules/codec/libtheora.a ./modules/audio_output/libauhal.a ./modules/gui/macosx/libmacosx.a ./modules/visualization/libgoom.a -L/usr/local/lib -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libshout.dylib /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libvorbis.a /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libspeex.dylib -lpthread /usr/lib/libiconv.dylib -lc -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/src/live/UsageEnvironment -lUsageEnvironment -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/src/live/groupsock -lgroupsock -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/src/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/src/live/liveMedia -lliveMedia /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libdvbpsi.dylib -lz -lmatroska -lebml -lpostproc -lavformat -lavcodec /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libmp3lame.a /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libfaac.a -lavutil /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libtheora.dylib /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libogg.dylib -lobjc -L/Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/src/goom/src/.libs /Users/buildslave/slave/nb-g5-osx-trunk/build/extras/contrib/lib/libgoom2.a -lm
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/Users/buildslave/slave/nb-g5-osx-trunk/build/./extras/contrib/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/bin/ld: multiple definitions of symbol _localtime_r
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libpthread.dylib(localtime.So) definition of _localtime_r
/Users/buildslave/slave/nb-g5-osx-trunk/build/./extras/contrib/lib/libavformat.a(os_support.o) definition of _localtime_r in section (__TEXT,__text)
collect2: ld returned 1 exit status

Additionally, our current SDK-support does only work with Xcode 2.1. The compilation of gettext with Xcode 2.2 or 2.3 fails because GCC isn't found correctly (configure complains that it can't create executables).

Change History

11/06/06 11:44:23 changed by fkuehne

(In 15877)* disable sdk-support on ppc-macs until it is fixed (refs #692)

09/07/06 19:20:41 changed by tumu

  • severity changed from critical to minor.
  • include_gantt deleted.
  • priority changed from high to normal.
  • dependencies changed.
  • milestone changed from 0.8.6-test1 to 0.8.6 bugs.
  • due_assign deleted.
  • due_close deleted.

09/07/06 19:36:54 changed by fkuehne

  • priority changed from normal to high.
  • severity changed from minor to critical.

Useable SDK-support is a must-have feature for a final release, so a high priority and critical severity are appropriate :)

About 40 to 50 per cent of all OSX-users still use versions < 10.4 btw.

15/07/06 19:50:26 changed by fkuehne

  • milestone changed from 0.8.6 bugs to 0.8.6-test1.

moved to a milestone which fits this ticket better

21/08/06 23:30:11 changed by hartman

  • status changed from new to closed.
  • resolution set to fixed.

11/09/06 21:50:17 changed by fkuehne

  • status changed from closed to reopened.
  • resolution deleted.

Interesting info about one of our problems can be found there: http://wincent.com/a/about/wincent/weblog/archives/2006/04/using_crossdeve.php (found by Derk-Jan)

18/12/06 11:39:43 changed by hartman

  • status changed from reopened to closed.
  • resolution set to fixed.

This is fixed now.

We still need to enable it on the buildbots btw.