Closed Bug 1219141 Opened 9 years ago Closed 9 years ago

Sandbox (Linux) compiling error: ‘SYS_SENDMMSG’ was not declared in this scope

Categories

(Core :: Security: Process Sandboxing, defect, P5)

41 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1207790

People

(Reporter: Zenitur, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Build ID: 2015062600 Steps to reproduce: Linux 2.6.37 x86_64 Opensuse 11.4 (Firefox 9.0) + Evergreen repository (Firefox 31.8 + fresh NSS and NSPR) + GLIBC 2.17 (from 12.3 repo) + Self-compiled GCC 4.7 in userspace I tried to update Firefox 31 to 41 using SRPM from Opensuse 13.1 Actual results: GCC successfully compiled libxul.so (843 MiB no stripped!), after that in crashed when compiling sandbox: SandboxFilterUtil.o make[3]: Entering directory `/mnt/1/rpmbuild/BUILD/obj/security/sandbox/linux' c++ -o SandboxFilterUtil.o -c -I../../../dist/system_wrappers -include /mnt/1/rpmbuild/BUILD/mozilla/config/gcc_hidden.h -DNS_NO_XPCOM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/linux -I. -I/mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/linux/common -I/mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/chromium-shim -I/mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/chromium -I/mnt/1/rpmbuild/BUILD/mozilla/nsprpub -I../../../dist/include -I/usr/include/nspr4 -I/usr/include/nss3 -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/SandboxFilterUtil.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -mtune=amdfam10 -march=amdfam10 -O3 -msse2 -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -Os -fomit-frame-pointer /mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/linux/SandboxFilterUtil.cpp /mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/linux/SandboxFilterUtil.cpp: In member function ‘virtual sandbox::bpf_dsl::ResultExpr mozilla::SandboxPolicyBase::EvaluateSyscall(int) const’: /mnt/1/rpmbuild/BUILD/mozilla/security/sandbox/linux/SandboxFilterUtil.cpp:85:7: error: ‘SYS_SENDMMSG’ was not declared in this scope make[3]: *** [SandboxFilterUtil.o] Error 1 Expected results: Successfully compiled Firefox RPM package
OS: Unspecified → Linux
Priority: -- → P5
Hardware: Unspecified → x86_64
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=228e548e602061b08ee8e8966f567c12aa079682 Firefox SRPM package from Enterprise Linux 5 has many fixes of same errors. But today they have only 38.x ESR package... Do I need to write in Red Hat bug tracker?
Component: Untriaged → Security: Process Sandboxing
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: