gfx/ycbcr build failure for darwin/i386 with 4.0b11

NEW
Unassigned

Status

()

Core
Graphics
7 years ago
7 years ago

People

(Reporter: Jeremy Huddleston, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
mozilla-central/gfx/ycbcr $ sudo make
make export
/opt/local/bin/python2.7 ../../config/buildlist.py ../../config/final-link-libs ycbcr
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_devel_xulrunner-devel/work/mozilla-central/config/nsinstall -L /opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_devel_xulrunner-devel/work/mozilla-central/gfx/ycbcr -m 644 chromium_types.h yuv_convert.h yuv_row.h ../../dist/include
make libs
yuv_row_posix.cpp
/usr/bin/g++-4.2 -arch i386 -o yuv_row_posix.o -c  -fvisibility=hidden -D_IMPL_NS_GFX -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Darwin9.8.0\" -DOSARCH=Darwin  -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/opt/local/include/nspr -I/opt/local/include/nss -I/opt/local/include  -I/opt/local/include    -fPIC -I/opt/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -ggdb3 -arch i386 -fno-strict-aliasing -fpascal-strings -fno-common -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2  -I/opt/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/yuv_row_posix.pp yuv_row_posix.cpp
{standard input}:3834:Unknown pseudo-op: .previous
{standard input}:3893:Unknown pseudo-op: .previous
{standard input}:3983:Unknown pseudo-op: .previous
make[1]: *** [yuv_row_posix.o] Error 1
make: *** [default] Error 2

The problem is that the .previous ops are in:

#if !defined(XP_MACOSX)
  ".previous\n"
#endif

but that is not effective since XP_MACOSX isn't defined when building this file.  These should probably be changed to #ifndef __APPLE__ since you're testing for the assembler support.
You need to log in before you can comment on or make changes to this bug.