Closed Bug 477063 Opened 17 years ago Closed 10 years ago

ARM Build Fails with error/warning on in netwerk/cookie code.

Categories

(Core :: Networking: Cookies, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pat, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008122010 Iceweasel/3.0.5 (Debian-3.0.5-1) Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008122010 Iceweasel/3.0.5 (Debian-3.0.5-1) This file: netwerk/cookie/src/Makefile.in Specifies: CXXFLAGS += $(WARNINGS_AS_ERRORS) On arm, this causes the build to fail as follows: c++ -o nsCookieService.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DZLIB_INTERNAL -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DIMPL_NS_NET -I/home/builder/builds/build-SoxuKN/firefox-3.0.6/mozilla/netwerk/cookie/src -I. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/storage -I../../../dist/include -I../../../dist/include/necko -I../../../dist/include/nspr -I../../../dist/sdk/include -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -g -O2 -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -Werror -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsCookieService.pp /home/builder/builds/build-SoxuKN/firefox-3.0.6/mozilla/netwerk/cookie/src/nsCookieService.cpp cc1plus: warnings being treated as errors In file included from ../../../dist/include/xpcom/nsCOMArray.h:42, from /home/builder/builds/build-SoxuKN/firefox-3.0.6/mozilla/netwerk/cookie/src/nsCookieService.cpp:56: ../../../dist/include/xpcom/nsVoidArray.h: In member function 'void nsAutoVoidArray::ResetToAutoBuffer()': ../../../dist/include/xpcom/nsVoidArray.h:193: error: cast from 'char*' to 'nsVoidArray::Impl*' increases required alignment of target type make[8]: *** [nsCookieService.o] Error 1 Reproducible: Always
Component: Build Config → Networking: Cookies
Product: Firefox → Core
QA Contact: build.config → networking.cookies
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.