Modify

Ticket #4562 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

trunk rev 15689 fails to build on powerpc

Reported by: Mario Limonciello <superm1@…> Owned by: nigel
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Identical builds build fine in i386 and amd64.

cd ivtc && qmake ivtc.pro "PREFIX=/usr" -o Makefile cd greedyhdeint && qmake greedyhdeint.pro "PREFIX=/usr" -o Makefile cd yadif && qmake yadif.pro "PREFIX=/usr" -o Makefile cd invert && /usr/bin/make -f Makefile make[3]: Entering directory `/build/buildd/mythtv-0.20.99+trunk15689/filters/invert' ccache gcc -c -pipe -fomit-frame-pointer -O3 -DNDEBUG -fPIC -DPIC -maltivec -mabi=altivec -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wno-missing-prototypes -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/include -I../../libs/libmythtv -o filter_invert.o filter_invert.c rm -f libinvert.so ccache g++ -shared -o libinvert.so filter_invert.o -lpthread cd linearblend && /usr/bin/make -f Makefile make[3]: Entering directory `/build/buildd/mythtv-0.20.99+trunk15689/filters/linearblend' ccache gcc -c -pipe -fomit-frame-pointer -O3 -DNDEBUG -fPIC -DPIC -maltivec -mabi=altivec -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wno-missing-prototypes -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/include -I../../libs/libavcodec -I../../libs/libavutil -I../../libs/libmythtv -I../.. -I/usr/include/qt3 -o filter_linearblend.o filter_linearblend.c make[3]: Leaving directory `/build/buildd/mythtv-0.20.99+trunk15689/filters/invert' cd denoise3d && /usr/bin/make -f Makefile make[3]: Entering directory `/build/buildd/mythtv-0.20.99+trunk15689/filters/denoise3d' ccache gcc -c -pipe -fomit-frame-pointer -O3 -DNDEBUG -fPIC -DPIC -maltivec -mabi=altivec -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wno-missing-prototypes -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/include -I../../libs/libavcodec -I../../libs/libavutil -I../../libs/libmythtv -I../../libs/libavcodec -I../.. -I/usr/include/qt3 -o filter_denoise3d.o filter_denoise3d.c filter_linearblend.c: In function 'linearBlendAltivec': filter_linearblend.c:142: error: 'vector' undeclared (first use in this function) filter_linearblend.c:142: error: (Each undeclared identifier is reported only once filter_linearblend.c:142: error: for each function it appears in.) filter_linearblend.c:142: error: expected ';' before 'unsigned' filter_linearblend.c:145: error: 'b' undeclared (first use in this function) filter_linearblend.c:145: warning: implicit declaration of function 'vec_ld' filter_linearblend.c:146: error: 'c' undeclared (first use in this function) filter_linearblend.c:150: error: 'a' undeclared (first use in this function) filter_linearblend.c:153: warning: implicit declaration of function 'vec_st' filter_linearblend.c:153: warning: implicit declaration of function 'vec_avg' make[3]: * [filter_linearblend.o] Error 1 make[3]: Leaving directory `/build/buildd/mythtv-0.20.99+trunk15689/filters/linearblend' make[2]: * [sub-linearblend] Error 2 make[2]: * Waiting for unfinished jobs....

Attachments

buildlog_ubuntu-hardy-powerpc.mythtv_0.20.99+trunk15689-0ubuntu2_FAILEDTOBUILD.txt.gz (34.7 KB) - added by Mario Limonciello <superm1@…> 4 years ago.
build log

Change History

Changed 4 years ago by Mario Limonciello <superm1@…>

build log

comment:1 Changed 4 years ago by nigel

  • Owner changed from ijr to nigel
  • Status changed from new to accepted

Probably a change about 3 months ago. Since the ffmpeg resync in [14800], dsputil.h no longer includes altivec.h

comment:2 Changed 4 years ago by nigel

(In [15746]) Altivec Linux compile fix. See #4562

comment:3 Changed 4 years ago by nigel

  • Status changed from accepted to closed
  • Resolution set to fixed

I couldn't find any other instances of this problem. Closing the ticket.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.