Opened 10 years ago

Closed 10 years ago

#7682 closed defect (wontfix)

Fails to build on sparc

Reported by: Christian Marillat <marillat@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.22
Severity: medium Keywords:
Cc: Ticket locked: no

Description

With or without --disable-vis the build fails on sparc linux Debian unstable.

Here is the output with --disable-vis

Christian

ccache gcc -c -pipe -fomit-frame-pointer -O3 -g -O2 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -fPIC -DPIC -fno-common -w -fPIC -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include -I/usr -I../../libs/libavcodec -o motion_comp_vis.o motion_comp_vis.c In file included from motion_comp_vis.c:33: vis.h: In function 'vis_set_gsr': vis.h:143: error: expected '=', ',', ';', 'asm' or 'attribute' before 'asm' vis.h:145: error: 'val' undeclared (first use in this function) vis.h:145: error: (Each undeclared identifier is reported only once vis.h:145: error: for each function it appears in.) vis.h: In function 'vis_alignaddr': vis.h:227: error: expected '=', ',', ';', 'asm' or 'attribute' before 'asm' vis.h:229: error: 'ptr' undeclared (first use in this function) vis.h:231: error: invalid lvalue in asm output 0 vis.h: In function 'vis_alignaddr_g0': vis.h:244: error: expected '=', ',', ';', 'asm' or 'attribute' before 'asm' vis.h:246: error: 'ptr' undeclared (first use in this function) vis.h:248: error: invalid lvalue in asm output 0 vis.h: In function 'vis_alignaddrl': vis.h:259: error: expected '=', ',', ';', 'asm' or 'attribute' before 'asm' vis.h:261: error: 'ptr' undeclared (first use in this function) vis.h:263: error: invalid lvalue in asm output 0 vis.h: In function 'vis_alignaddrl_g0': vis.h:276: error: expected '=', ',', ';', 'asm' or 'attribute' before 'asm' vis.h:278: error: 'ptr' undeclared (first use in this function) vis.h:280: error: invalid lvalue in asm output 0 make[3]: * [motion_comp_vis.o] Error 1

Change History (1)

comment:1 Changed 10 years ago by Raymond Wagner

Resolution: wontfix
Status: newclosed

SPARC has never been a supported platform, and the rarity of use outside servers and professional workstations makes this unlikely to ever change. Patches to fix the build issue are welcome, so long as they do not cause problems with more commonly used platforms.

Note: See TracTickets for help on using tickets.