CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
IDProjectCategory  descTask TypeSeveritySummaryStatusProgress
 40 CRUX-ARMwebsiteBug ReportMedium Mailing list is broken Closed
100%
Task Description

I want to subscribe to the mailing list but https://crux-arm.nu/mailman/listinfo/crux-arm is broken.

Additionally, there are no archives since February, Is this correct? https://crux-arm.nu/pipermail/crux-arm/

 37 CRUX-ARMwebsiteBug ReportLow Typos in Flyspray Closed
100%
Task Description

There are two typos in Flyspray. The first is in the page titles. Note that there is a separator missing, and duplication of “CRUX-ARM” - here is the page title I have right now:

CRUX-ARM | bugsCRUX-ARM: New Task

I suggest this be fixed to look more like Crux’s, which reads:

Flyspray:: CRUX: New Task

So we should just replace “CRUX” with “CRUX-ARM”

The second typo is when a user enters an incorrect password. When a user enters a bad password, an error appears at the bottom of the webpage that says something about the “paassword” being incorrect or something. The word “password” is spelled incorrectly.

 41 CRUX-ARMwebsiteBug ReportLow mailman: fix issues with archives Closed
100%
Task Description

We must to fix issues with archives

 3 CRUX-ARMtoolchain-softfpBug ReportLow Create a toolchain with hardfp support. Closed
100%
Task Description

We can create a new toolchain with hardfp and thumb support.

It can be created with the same triplet used in the toolchain with a minor change (arm-cruxhf-linux-gnueabi) but the point could be to use another one: arm-crux-linux-gnueabihf

There are problems with this triplet which should be fixed before we start adopting it.

There are some checks which can be done to verify hardfp/thumb support.

readelf -e test:
The elf header should change (not implemented atm)

readelf -A test:
Tag_THUMB_ISA_use: Thumb-2
Tag_ABI_HardFP_use: SP and DP
These told us that this toolchain has thumb support and it’s built with hardfp

size test:
we can compare file’s sizes and verify that the thumb one it’s smaller.

 54 CRUX-ARMtoolchainBug ReportMedium gcc: clfs/usr/lib/libitm.a is built for armv4 Closed
100%
Task Description

We find this on current toolchain:

clfs/usr/lib/libitm.a(sjlj.o)
Attribute Section: aeabi
File Attributes

Tag_CPU_arch: v4

while it should be:

Tag_CPU_arch: v5T

Building without specifying –disable-sjlj enables this support by default

From http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html –enable-sjlj-exceptions

  Forces old, set-jump/long-jump exception handling model. If at all possible, the new, frame unwinding exception handling routines should be used instead, as they significantly reduce both runtime memory usage and executable size. This option can change the library ABI.

After rebuilding the toolchain with –disable-sjlj in gcc-static/final clfs/usr/lib/libitm.a isn’t built.

 14 CRUX-ARMtoolchainBug ReportLow Lack of gcc preprocessor symbols  Closed
100%
Task Description

Building thunderbird or firefox we found this error:
#error “Can’t identify floating point calling conventions.\nPlease ensure that your toolchain defines ARM_PCS or ARM_PCS_VFP.”

Gcc’s toolchain should be patched to add those macros. The proposed patch is attached.

 20 CRUX-ARMtoolchainImprovementLow toolchain 2.6 (eabi/noeabi) problem with glibc and make ...Closed
100%
Task Description

Building toolchain 2.6 in a CRUX 2.7 host (using make 3.82) we can find a problem in glibc build:
*** mixed implicit and normal rules. Stop.

We can try to add a patch and fix this problem to build CRUX-ARM 2.6 (eabi/noeabi) in a CRUX 2.7 host (with make 3.82).
This should be tested in a 2.6 host and verify it builds right too. I’ll try to provide this last check while waiting for comments or opinions in this bug.

glibc-2.10.1-make382.patch
— glibc-2.10.1_orig/manual/Makefile 2012-02-08 08:05:11.777529411 +0000
+++ glibc-2.10.1/manual/Makefile 2012-02-08 08:06:46.189531779 +0000
@@ -232,7 +232,9 @@
.PHONY: stubs
stubs: $(objpfx)stubs
endif
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
+$(objpfx)stubs ../po/manual.pot:
+ touch $@
+$(objpfx)stamp%:

      $(make-target-directory)
      touch $@

Makefile
diff –git a/Makefile b/Makefile
index aea2b53..5af5d60 100644
— a/Makefile
+++ b/Makefile
@@ -174,9 +174,9 @@ $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2:
$(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2:

      wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2

$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2
-

      tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
      cd $(WORK)/glibc-$(GLIBC_VERSION) && \

+ patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-make382.patch && \

              tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \
              mv glibc-ports-$(GLIBC_VERSION) ports && \
              sed -e 's/-lgcc_eh//g' -i Makeconfig
 43 CRUX-ARMtoolchainBug ReportLow toolchain glibc --enable-obsolete-rpc Closed
100%
Task Description

Check if we can add this option directly in toolchains.
This will allow to build initrd without building core-cross' glibc.

 78 CRUX-ARMtoolchainBug ReportLow toolchain: gcc-static unnecessarily rebuilt Closed
100%
Task Description

gcc-static is unnecessarily rebuilt each time make is invoked due to an incorrect filename extension in the Makefile target definition. Patch follows:

diff –git a/Makefile b/Makefile
index 4ab3882..568739d 100644
— a/Makefile
+++ b/Makefile
@@ -173,10 +173,10 @@ binutils-distclean: binutils-clean


# GCC-STATIC
-$(WORK)/gcc-$(GCC_VERSION).tar.bz2:
+$(WORK)/gcc-$(GCC_VERSION).tar.xz:

      wget -P $(WORK) -c ftp://gcc.gnu.org/pub/gcc/releases/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.xz


-$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2
+$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.xz

      tar -C $(WORK) -xf $(WORK)/gcc-$(GCC_VERSION).tar.xz
      touch $(WORK)/gcc-$(GCC_VERSION)
 13 CRUX-ARMports/xorg-armBug ReportLow mesa3d: failed compilation Closed
100%
Task Description

gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../..
/src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -Wmissing-prototypes -std=c99 -ff
ast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRE
CT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DFEATURE_GL=1 sis6326_state.c -o sis6326_state.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../..
/src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -Wmissing-prototypes -std=c99 -ff
ast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRE
CT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DFEATURE_GL=1 sis6326_clear.c -o sis6326_clear.o
In file included from sis6326_clear.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
distcc[24104] ERROR: compile sis6326_clear.c on 192.168.0.252 failed
distcc[24104] (dcc_build_somewhere) Warning: remote compilation of ‘sis6326_clear.c’ failed, retrying locally
distcc[24104] Warning: failed to distribute sis6326_clear.c to 192.168.0.252, running locally instead
In file included from sis6326_state.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
distcc[24102] ERROR: compile sis6326_state.c on localhost failed
make[6]: * [sis6326_state.o] Error 1
make[6]:
* Waiting for unfinished jobs....
In file included from sis6326_clear.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
sis6326_clear.c: In function ‘sis_clear_back_buffer’:
sis6326_clear.c:158:4: warning: implicit declaration of function ‘MMIO_WMB’ distcc[24104] ERROR: compile sis6326_clear.c on localhost failed
make[6]: * [sis6326_clear.o] Error 1
make[6]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri/sis’ make[5]:
* [lib] Error 2
make[5]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri/sis’ make[4]: * [subdirs] Error 1
make[4]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri’ make[3]:
* [default] Error 1
make[3]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers’ make[2]: * [driver_subdirs] Error 2
make[2]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa’ make[1]:
* [subdirs] Error 1
make[1]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src’ make: *** [default] Error 1
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mesa3d#7.10.2-1.pkg.tar.gz’ failed.

 48 CRUX-ARMports/opt-crossBug ReportLow URL invalid for subversion Closed
100%
Task Description

Hello everyone,

the URL for port opt/subversion is invalid: http://www.apache.org/dist/subversion/subversion-1.7.7.tar.bz2

The only version that is available at that site is 1.7.8: http://www.apache.org/dist/subversion/subversion-1.7.8.tar.bz2

I tried compiling version 1.7.8 and had no problems.

The new md5sum is:

# cat /usr/ports/opt/subversion/.md5sum
454b9f398415c3504435bf8c3f6ed127 subversion-1.7.8.tar.bz2

Best regards,
Christian.

 7 CRUX-ARMports/opt-armhfBug ReportLow mpg123: problem building Closed
100%
Task Description

Report:

/bin/sh ../../libtool –tag=CC –mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -O2 -fomit-
frame-pointer -funroll-all-loops -finline-functions -ffast-math -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o l
ayer3.lo layer3.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -O2 -fomit-frame-pointer -funroll-all-loops
-finline-functions -ffast-math -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -fPIC -DPIC -o .libs/layer3
.o
/tmp/cckBsykf.s: Assembler messages:
/tmp/cckBsykf.s:2839: Error: shift must be constant – `orr fp,fp,r7,lsl sl’ /tmp/cckBsykf.s:2868: Error: shift must be constant – `orr fp,fp,r7,lsl sl’ /tmp/cckBsykf.s:3071: Error: shift must be constant – `orr r5,r5,r7,lsl sl’ /tmp/cckBsykf.s:3268: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3290: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3313: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3336: Error: shift must be constant – `orr fp,fp,r4,lsl r5’ /tmp/cckBsykf.s:3358: Error: shift must be constant – `orr fp,fp,r3,lsl r5’ /tmp/cckBsykf.s:4653: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:4864: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:4893: Error: shift must be constant – `orr r7,r7,r8,lsl sl’ /tmp/cckBsykf.s:5105: Error: shift must be constant – `orr sl,sl,r5,lsl r7’ /tmp/cckBsykf.s:5155: Error: shift must be constant – `orr sl,sl,r5,lsl r7’ /tmp/cckBsykf.s:5179: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:5326: Error: shift must be constant – `orr sl,sl,r3,lsl r5’ /tmp/cckBsykf.s:5350: Error: shift must be constant – `orr sl,sl,r3,lsl r4’ make[3]: * [layer3.lo] Error 1
make[3]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src/libmpg123’ make[2]:
* [all-recursive] Error 1
make[2]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src’ make[1]: * [all] Error 2
make[1]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src’ make:
* [all-recursive] Error 1
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mpg123#1.13.3-1.pkg.tar.gz’ failed.

 65 CRUX-ARMports/opt-armBug ReportMedium chromium: failed to build on efikamx devices Closed
100%
Task Description

I only tried with optimized CFLAGS="-O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16", maybe generic flags could work but anyway we should fix that.

When developing the first overlay port for chromium I found a similar problem with neon when compiling webrtc/common_audio component and I created a patch[1]. This was the error log[2].

Now the problem sounds similar as reported here[3]. This is the current error log[4]. So we can try to create a patch for it.

[1] - https://crux-arm.nu/gitweb?p=ports/opt-arm.git;a=blob_plain;f=chromium/webrtc-arm_neon.patch;hb=0826c9bd07b8f0665e3788fc1671911dd5522554

[2] - error log for webrtc/common_audio:

cc '-DANGLE_DX11' '-DWEBRTC_SVNREVISION="Unavailable(issue687)"' '-D_FILE_OFFSET_BITS=64' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PLUGINS=1' '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1' '-DENABLE_FULL_PRINTING=1' '-DENABLE_PRINTING=1' '-DENABLE_SPELLCHECK=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DWEBRTC_CHROMIUM_BUILD' '-DWEBRTC_ARCH_ARM' '-DWEBRTC_ARCH_ARM_V7' '-DWEBRTC_DETECT_ARM_NEON' '-DWEBRTC_LINUX' '-D__STDC_CONSTANT_MACROS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' '-D_FORTIFY_SOURCE=2' -Ithird_party/webrtc -Ithird_party -I.  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -mfpu=neon -flax-vector-conversions -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mthumb -O2 -fno-ident -fdata-sections -ffunction-sections -O2 -pipe -mfloat-abi=hard -march=armv7-a -I/usr/include/nspr  -MMD -MF out/Release/.deps/out/Release/obj.target/common_audio_neon/third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.o.d.raw -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -I/usr/include/nspr  -c -o out/Release/obj.target/common_audio_neon/third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.o third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S

third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S: Assembler messages:
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:51: Error: selected FPU does not support instruction – `vmov.i32 q9,#0'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:52: Error: selected FPU does not support instruction – `vmov.i32 q14,#0'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:62: Error: selected processor does not support ARM mode `vmull.s16 q12,d20,d22'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:63: Error: selected processor does not support ARM mode `vmull.s16 q13,d21,d23'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:64: Error: selected processor does not support ARM mode `vpadal.s32 q9,q12'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:65: Error: selected processor does not support ARM mode `vpadal.s32 q14,q13'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:84: Error: selected FPU does not support instruction – `vadd.i64 d18,d19'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:85: Error: selected FPU does not support instruction – `vadd.i64 d28,d29'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:86: Error: selected FPU does not support instruction – `vadd.i64 d18,d28'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:89: Error: selected FPU does not support instruction – `vadd.i64 d17,d18'
third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.S:90: Error: selected processor does not support ARM mode `vshl.s64 d17,d16'
make: * [out/Release/obj.target/common_audio_neon/third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.o] Error 1
make:
* Waiting for unfinished jobs....
In file included from third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:16:0:
/usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.3/include/arm_neon.h:32:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc: In static member function 'static float webrtc::SincResampler::Convolve_NEON(const float*, const float*, const float*, double)':
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:23:3: error: 'float32x4_t' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:23:15: error: expected ';' before 'm_input'
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:24:15: error: expected ';' before 'm_sums1'
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:25:15: error: expected ';' before 'm_sums2'
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:29:5: error: 'm_input' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:29:34: error: 'vld1q_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:31:5: error: 'm_sums1' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:31:56: error: 'vmlaq_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:33:5: error: 'm_sums2' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:38:3: error: 'm_sums1' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:39:71: error: 'vmovq_n_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:39:72: error: 'vmulq_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:40:7: error: 'm_sums2' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:40:56: error: 'vmlaq_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:43:3: error: 'float32x2_t' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:43:15: error: expected ';' before 'm_half'
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:44:34: error: 'm_half' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:44:48: error: 'vpadd_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:44:52: error: 'vget_lane_f32' was not declared in this scope
third_party/webrtc/common_audio/resampler/sinc_resampler_neon.cc:45:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [out/Release/obj.target/common_audio_neon/third_party/webrtc/common_audio/resampler/sinc_resampler_neon.o] Error 1

[3] - https://code.google.com/p/chromium/issues/detail?id=154107

[4] - error log for webrtc/commom_audio:

g++ '-DANGLE_DX11' '-D_FILE_OFFSET_BITS=64' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PLUGINS=1' '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1' '-DENABLE_FULL_PRINTING=1' '-DENABLE_PRINTING=1' '-DENABLE_SPELLCHECK=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DGOOGLE_PROTOBUF_NO_RTTI' '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/protobuf -Ithird_party/protobuf/src  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-mis...skipping...

aecm_core.c:(.text.WebRtcAecm_InitCore+0x212): undefined reference to `WebRtc_GetCPUFeaturesARM'
aecm_core.c:(.text.WebRtcAecm_InitCore+0x278): undefined reference to `WebRtcAecm_StoreAdaptiveChannelNeon'
aecm_core.c:(.text.WebRtcAecm_InitCore+0x27c): undefined reference to `WebRtcAecm_ResetAdaptiveChannelNeon'
aecm_core.c:(.text.WebRtcAecm_InitCore+0x280): undefined reference to `WebRtcAecm_CalcLinearEnergiesNeon'
out/Release/obj.target/third_party/webrtc/modules/../../../audio_processing/third_party/webrtc/modules/audio_processing/aecm/aecm_core.o: In function `WebRtcAec
m_ProcessBlock':
aecm_core.c:(.text.WebRtcAecm_ProcessBlock+0x990): undefined reference to `WebRtcAecm_kSqrtHanning'
out/Release/obj.target/third_party/webrtc/common_audio/../../../common_audio/third_party/webrtc/common_audio/resampler/sinc_resampler.o: In function `webrtc::Si
ncResampler::InitializeCPUSpecificFeatures()':
sinc_resampler.cc:(.text._ZN6webrtc13SincResampler29InitializeCPUSpecificFeaturesEv+0x4): undefined reference to `WebRtc_GetCPUFeaturesARM'
sinc_resampler.cc:(.text._ZN6webrtc13SincResampler29InitializeCPUSpecificFeaturesEv+0x34): undefined reference to `webrtc::SincResampler::Convolve_NEON(float const*, float const*, float const*, double)'
out/Release/obj.target/third_party/webrtc/common_audio/../../../common_audio/third_party/webrtc/common_audio/signal_processing/spl_init.o: In function `InitFunctionPointers':
spl_init.c:(.text.InitFunctionPointers+0x2): undefined reference to `WebRtc_GetCPUFeaturesARM'
spl_init.c:(.text.InitFunctionPointers+0x18c): undefined reference to `WebRtcSpl_MaxAbsValueW16Neon'
spl_init.c:(.text.InitFunctionPointers+0x194): undefined reference to `WebRtcSpl_MaxAbsValueW32Neon'
spl_init.c:(.text.InitFunctionPointers+0x19c): undefined reference to `WebRtcSpl_MaxValueW16Neon'
spl_init.c:(.text.InitFunctionPointers+0x1a4): undefined reference to `WebRtcSpl_MaxValueW32Neon'
spl_init.c:(.text.InitFunctionPointers+0x1ac): undefined reference to `WebRtcSpl_MinValueW16Neon'
spl_init.c:(.text.InitFunctionPointers+0x1b4): undefined reference to `WebRtcSpl_MinValueW32Neon'
spl_init.c:(.text.InitFunctionPointers+0x1bc): undefined reference to `WebRtcSpl_CrossCorrelationNeon'
spl_init.c:(.text.InitFunctionPointers+0x1c4): undefined reference to `WebRtcSpl_DownsampleFastNeon'
spl_init.c:(.text.InitFunctionPointers+0x1cc): undefined reference to `WebRtcSpl_ScaleAndAddVectorsWithRoundNeon'
out/Release/obj.target/third_party/webrtc/modules/../../../iSACFix/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.o: In function `WebRtcIsacfix_EncoderInit':
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x110): undefined reference to `WebRtc_GetCPUFeaturesARM'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1c8): undefined reference to `WebRtcIsacfix_AutocorrNeon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1cc): undefined reference to `WebRtcIsacfix_FilterMaLoopNeon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1d0): undefined reference to `WebRtcIsacfix_Spec2TimeNeon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1d4): undefined reference to `WebRtcIsacfix_Time2SpecNeon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1d8): undefined reference to `WebRtcIsacfix_CalculateResidualEnergyNeon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1dc): undefined reference to `WebRtcIsacfix_AllpassFilter2FixDec16Neon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1e0): undefined reference to `WebRtcIsacfix_MatrixProduct1Neon'
isacfix.c:(.text.WebRtcIsacfix_EncoderInit+0x1e4): undefined reference to `WebRtcIsacfix_MatrixProduct2Neon'
out/Release/obj.target/third_party/webrtc/modules/../../../iSACFix/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/transform.o: In function `WebRtcIsacfix_Time2SpecC':
transform.c:(.text.WebRtcIsacfix_Time2SpecC+0x320): undefined reference to `WebRtcIsacfix_kCosTab1'
transform.c:(.text.WebRtcIsacfix_Time2SpecC+0x324): undefined reference to `WebRtcIsac

 66 CRUX-ARMports/opt-armBug ReportMedium chromium: failed to build on raspberrypi devices Closed
100%
Task Description

We find currently a problem building chromium in the raspberrypi.
It's built with standard CFLAGS="-O2 -pipe -mfloat-abi=hard -mcpu=arm1176jzf-s -mfpu=vfp"

flock out/Release/linker.lock g++ -Wl,-z,now -Wl,-z,relro -pthread -Wl,-z,noexecstack -fPIC -pie -Lout/Release -Wl,-uIsHeapProfilerRunning,-uP

rofilerStart -Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi -Wl,-u_Z21InitialMallo
cHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl -Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapL
eakChecker14UnIgnoreObjectEPKv -Wl,–export-dynamic -pthread -Wl,–export-dynamic -pthread -Wl,-O1 -Wl,–as-needed -Wl,–gc-sections -lplds4 -l
plc4 -lnspr4 -lpthread -ldl -o out/Release/chrome -Wl,–start-group out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o out/Release/
obj.target/chrome/chrome/app/chrome_main.o out/Release/obj.target/chrome/chrome/app/chrome_main_delegate.o out/Release/obj.target/base/allocator
/liballocator.a out/Release/obj.target/chrome/libcommon.a out/Release/obj.target/chrome/libbrowser.a out/Release/obj.target/printing/libprinting
.a out/Release/obj.target/ppapi/libppapi_host.a out/Release/obj.target/chrome/libservice.a out/Release/obj.target/chrome/libdebugger.a out/Relea
se/obj.target/chrome/libplugin.a out/Release/obj.target/chrome/librenderer.a out/Release/obj.target/chrome/libutility.a out/Release/obj.target/c
ontent/libcontent_gpu.a out/Release/obj.target/content/libcontent_ppapi_plugin.a out/Release/obj.target/content/libcontent_worker.a out/Release/
obj.target/content/libcontent_app_both.a out/Release/obj.target/chrome/libinstaller_util.a out/Release/obj.target/base/third_party/dynamic_annot
ations/libdynamic_annotations.a out/Release/obj.target/third_party/cld/libcld.a out/Release/obj.target/third_party/icu/libicuuc.a out/Release/ob
j.target/third_party/icu/libicudata.a out/Release/obj.target/chrome/libcommon_net.a out/Release/obj.target/base/libbase.a out/Release/obj.target
/base/libbase_static.a out/Release/obj.target/base/allocator/liballocator_extension_thunks.a out/Release/obj.target/third_party/modp_b64/libmodp
_b64.a out/Release/obj.target/base/libsymbolize.a out/Release/obj.target/base/libxdg_mime.a out/Release/obj.target/third_party/libevent/libevent
.a out/Release/obj.target/crypto/libcrcrypto.a out/Release/obj.target/net/third_party/nss/libcrssl.a out/Release/obj.target/third_party/zlib/lib
chrome_zlib.a out/Release/obj.target/net/libnet.a out/Release/obj.target/base/libbase_i18n.a out/Release/obj.target/third_party/icu/libicui18n.a
out/Release/obj.target/sdch/libsdch.a out/Release/obj.target/url/liburl_lib.a out/Release/obj.target/build/linux/libgio.a out/Release/obj.targe
t/gpu/libgpu_ipc.a out/Release/obj.target/gpu/libcommand_buffer_common.a out/Release/obj.target/gpu/command_buffer/libgles2_utils.a out/Release/
obj.target/ipc/libipc.a out/Release/obj.target/chrome/libcommon_constants.a out/Release/obj.target/components/libnacl_switches.a out/Release/obj
.target/chrome/libmetrics_proto.a out/Release/obj.target/third_party/protobuf/libprotobuf_lite.a out/Release/obj.target/base/libbase_prefs.a out
/Release/obj.target/components/libvisitedlink_common.a out/Release/obj.target/content/libcontent_common.a out/Release/obj.target/components/libt
racing.a out/Release/obj.target/media/libmedia.a out/Release/obj.target/skia/libskia_library.a out/Release/obj.target/skia/libskia_opts.a out/Re
lease/obj.target/third_party/sfntly/libsfntly.a out/Release/obj.target/skia/libskia_chrome.a out/Release/obj.target/skia/libskia_chrome_opts.a o
ut/Release/obj.target/third_party/opus/libopus.a out/Release/obj.target/ui/libui.a out/Release/obj.target/third_party/libpng/libpng.a out/Releas
e/obj.target/media/libshared_memory_support.a out/Release/obj.target/third_party/ffmpeg/libffmpeg.a out/Release/obj.target/third_party/libvpx/li
bvpx.a out/Release/obj.target/third_party/libvpx/libvpx_asm_offsets_vp8.a out/Release/obj.target/third_party/libvpx/libvpx_asm_offsets_vpx_scale
.a out/Release/obj.target/ui/libshell_dialogs.a out/Release/obj.target/webkit/common/user_agent/libuser_agent.a out/Release/obj.target/cc/libcc.
a out/Release/obj.target/gpu/libcommand_buffer_client.a out/Release/obj.target/gpu/libcommand_buffer_service.a out/Release/obj.target/gpu/libdis
k_cache_proto.a out/Release/obj.target/ui/gl/libgl_wrapper.a out/Release/obj.target/third_party/angle_dx11/src/libtranslator_glsl.a out/Release/
obj.target/third_party/angle_dx11/src/libtranslator_common.a out/Release/obj.target/third_party/angle_dx11/src/libpreprocessor.a out/Release/obj
.target/third_party/smhasher/libcityhash.a out/Release/obj.target/third_party/re2/libre2.a out/Release/obj.target/gpu/libgles2_cmd_helper.a out/
Release/obj.target/gpu/libgpu_config.a out/Release/obj.target/build/linux/libpci.a out/Release/obj.target/third_party/libXNVCtrl/libXNVCtrl.a ou
t/Release/obj.target/third_party/WebKit/Source/web/libblink_common.a out/Release/obj.target/third_party/WebKit/Source/wtf/libwtf.a out/Release/o
bj.target/v8/tools/gyp/libv8_base.arm.a out/Release/obj.target/v8/tools/gyp/libv8_snapshot.a out/Release/obj.target/gpu/libgles2_c_lib.a out/Release/obj.target/gpu/libgles2_implementation.a out/Release/obj.target/webkit/common/libwebkit_common.a out/Release/obj.target/webkit/libwebkit_storage_browser.a out/Release/obj.target/sql/libsql.a out/Release/obj.target/third_party/sqlite/libsqlite3.a out/Release/obj.target/third_party/leveldatabase/libleveldatabase.a out/Release/obj.target/third_party/snappy/libsnappy.a out/Release/obj.target/webkit/libwebkit_storage_common.a out/Release/obj.target/third_party/WebKit/Source/web/libwebkit.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_dom.a out/Release/obj.target/third_party/WebKit/Source/weborigin/libweborigin.a out/Release/obj.target/third_party/iccjpeg/libiccjpeg.a out/Release/obj.target/third_party/libwebp/libwebp_dec.a out/Release/obj.target/third_party/libwebp/libwebp_dsp.a out/Release/obj.target/third_party/libwebp/libwebp_dsp_neon.a out/Release/obj.target/third_party/libwebp/libwebp_utils.a out/Release/obj.target/third_party/libwebp/libwebp_demux.a out/Release/obj.target/third_party/libwebp/libwebp_enc.a out/Release/obj.target/third_party/libxml/libxml.a out/Release/obj.target/third_party/ots/libots.a out/Release/obj.target/third_party/lzma_sdk/liblzma_sdk.a out/Release/obj.target/third_party/qcms/libqcms.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_html.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_platform.a out/Release/obj.target/third_party/harfbuzz-ng/libharfbuzz-ng.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_platform_geometry.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_remaining.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_rendering.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_svg.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_derived.a out/Release/obj.target/third_party/WebKit/Source/core/libwebcore_arm_neon.a out/Release/obj.target/third_party/WebKit/Source/modules/libmodules.a out/Release/obj.target/webkit/support/libglue.a out/Release/obj.target/webkit/renderer/compositor_bindings/libwebkit_compositor_support.a out/Release/obj.target/webkit/renderer/compositor_bindings/libwebkit_compositor_bindings.a out/Release/obj.target/webkit/common/gpu/libwebkit_gpu.a out/Release/obj.target/ppapi/libppapi_shared.a out/Release/obj.target/ui/surface/libsurface.a out/Release/obj.target/third_party/mt19937ar/libmt19937ar.a out/Release/obj.target/third_party/zlib/libzip.a out/Release/obj.target/third_party/zlib/libminizip.a out/Release/obj.target/device/bluetooth/libdevice_bluetooth.a out/Release/obj.target/device/usb/libdevice_usb.a out/Release/obj.target/chrome/app/policy/libpolicy.a out/Release/obj.target/chrome/app/policy/libcloud_policy_proto_generated_compile.a out/Release/obj.target/chrome/common/extensions/api/libapi.a out/Release/obj.target/sync/libsync_api.a out/Release/obj.target/sync/libsync_internal_api.a out/Release/obj.target/sync/libsync_core.a out/Release/obj.target/sync/libsync_proto.a out/Release/obj.target/google_apis/libgoogle_apis.a out/Release/obj.target/sync/libsync_notifier.a out/Release/obj.target/jingle/libjingle_glue.a out/Release/obj.target/third_party/libjingle/libjingle.a out/Release/obj.target/third_party/jsoncpp/libjsoncpp.a out/Release/obj.target/third_party/libjingle/libjingle_p2p_constants.a out/Release/obj.target/jingle/libnotifier.a out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation.a out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation_proto_cpp.a out/Release/obj.target/tools/json_schema_compiler/libapi_gen_util.a out/Release/obj.target/components/libautofill_core_common.a out/Release/obj.target/components/libnacl_common.a out/Release/obj.target/remoting/libremoting_client_plugin.a out/Release/obj.target/remoting/libremoting_base.a out/Release/obj.target/third_party/libyuv/libyuv.a out/Release/obj.target/third_party/speex/libspeex.a out/Release/obj.target/remoting/libremoting_jingle_glue.a out/Release/obj.target/remoting/proto/libchromotocol_proto_lib.a out/Release/obj.target/third_party/webrtc/modules/libdesktop_capture.a out/Release/obj.target/third_party/webrtc/system_wrappers/source/libsystem_wrappers.a out/Release/obj.target/remoting/libremoting_client.a out/Release/obj.target/remoting/libremoting_protocol.a out/Release/obj.target/ppapi/libppapi_cpp_objects.a out/Release/obj.target/chrome/browser/search_engines/libprepopulated_engines.a out/Release/obj.target/chrome/libbrowser_ui.a out/Release/obj.target/chrome/libcert_logger_proto.a out/Release/obj.target/chrome/libbrowser_ui_views.a out/Release/obj.target/chrome/libin_memory_url_index_cache_proto.a out/Release/obj.target/chrome/libsafe_browsing_proto.a out/Release/obj.target/chrome/libsafe_browsing_report_proto.a out/Release/obj.target/chrome/libfeedback_proto.a out/Release/obj.target/chrome/libvariations_seed_proto.a out/Release/obj.target/components/libauto_login_parser.a out/Release/obj.target/content/libcontent_browser.a out/Release/obj.target/content/browser/speech/proto/libspeech_proto.a out/Release/obj.target/ui/snapshot/libsnapshot.a out/Release/obj.target/content/libcontent_child.a out/Release/obj.target/webkit/support/libglue_child.a out/Release/obj.target/ui/native_theme/libnative_theme.a out/Release/obj.target/content/libcontent_utility.a out/Release/obj.target/net/libhttp_server.a out/Release/obj.target/sandbox/libsandbox_services.a out/Release/obj.target/sandbox/libsuid_sandbox_client.a out/Release/obj.target/sandbox/libseccomp_bpf.a out/Release/obj.target/dbus/libdbus.a out/Release/obj.target/sandbox/libc_urandom_override.a out/Release/obj.target/ppapi/libppapi_ipc.a out/Release/obj.target/third_party/flac/libflac.a out/Release/obj.target/third_party/libusb/libusb.a out/Release/obj.target/ui/message_center/libmessage_center.a out/Release/obj.target/chrome/libbrowser_extensions.a out/Release/obj.target/third_party/undoview/libundoview.a out/Release/obj.target/chrome/browser/performance_monitor/libperformance_monitor.a out/Release/obj.target/components/libautofill_content_risk_proto.a out/Release/obj.target/net/libnet_with_v8.a out/Release/obj.target/third_party/hunspell/libhunspell.a out/Release/obj.target/third_party/libphonenumber/libphonenumber.a out/Release/obj.target/third_party/libphonenumber/libphonenumber_without_metadata.a out/Release/obj.target/ui/compositor/libcompositor.a out/Release/obj.target/ui/web_dialogs/libweb_dialogs.a out/Release/obj.target/chrome/libprobe_message_proto.a out/Release/obj.target/components/libbrowser_context_keyed_service.a out/Release/obj.target/components/libuser_prefs.a out/Release/obj.target/components/libencryptor.a out/Release/obj.target/components/libsessions.a out/Release/obj.target/components/libvisitedlink_browser.a out/Release/obj.target/components/libweb_modal.a out/Release/obj.target/components/libwebdata_common.a out/Release/obj.target/chrome/libapps.a out/Release/obj.target/chrome/libsync_file_system_drive_proto.a out/Release/obj.target/chrome/libsync_file_system_proto.a out/Release/obj.target/components/libautofill_content_browser.a out/Release/obj.target/components/libautofill_core_browser.a out/Release/obj.target/components/libnavigation_interception.a out/Release/obj.target/chrome/libcloud_policy_proto.a out/Release/obj.target/chrome/libpolicy_path_parser.a out/Release/obj.target/device/media_transfer_protocol/libmtp_file_entry_proto.a out/Release/obj.target/device/media_transfer_protocol/libmtp_storage_info_proto.a out/Release/obj.target/device/media_transfer_protocol/libdevice_media_transfer_protocol.a out/Release/obj.target/build/linux/libspeechd.a out/Release/obj.target/breakpad/libbreakpad_client.a out/Release/obj.target/components/libbreakpad_component.a out/Release/obj.target/ppapi/libppapi_proxy.a out/Release/obj.target/content/libcontent_plugin.a out/Release/obj.target/components/libautofill_content_renderer.a out/Release/obj.target/content/libcontent_renderer.a out/Release/obj.target/webkit/renderer/libwebkit_renderer.a out/Release/obj.target/webkit/libwebkit_storage_renderer.a out/Release/obj.target/third_party/libjingle/libjingle_webrtc.a out/Release/obj.target/third_party/libjingle/libjingle_webrtc_common.a out/Release/obj.target/third_party/libsrtp/libsrtp.a out/Release/obj.target/third_party/webrtc/modules/libmedia_file.a out/Release/obj.target/third_party/webrtc/modules/libvideo_capture_module.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_utility.a out/Release/obj.target/third_party/webrtc/modules/libaudio_coding_module.a out/Release/obj.target/third_party/webrtc/modules/libCNG.a out/Release/obj.target/third_party/webrtc/common_audio/libcommon_audio.a out/Release/obj.target/third_party/webrtc/modules/libG711.a out/Release/obj.target/third_party/webrtc/modules/libG722.a out/Release/obj.target/third_party/webrtc/modules/libiLBC.a out/Release/obj.target/third_party/webrtc/modules/libiSAC.a out/Release/obj.target/third_party/webrtc/modules/libiSACFix.a out/Release/obj.target/third_party/webrtc/modules/libPCM16B.a out/Release/obj.target/third_party/webrtc/modules/libNetEq.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_opus.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_video_coding.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_i420.a out/Release/obj.target/third_party/webrtc/common_video/libcommon_video.a out/Release/obj.target/third_party/webrtc/modules/video_coding/utility/libvideo_coding_utility.a out/Release/obj.target/third_party/webrtc/modules/video_coding/codecs/vp8/libwebrtc_vp8.a out/Release/obj.target/third_party/webrtc/modules/libvideo_render_module.a out/Release/obj.target/third_party/usrsctp/libusrsctplib.a out/Release/obj.target/third_party/libjingle/libpeerconnection.a out/Release/obj.target/third_party/webrtc/video_engine/libvideo_engine_core.a out/Release/obj.target/third_party/webrtc/modules/librtp_rtcp.a out/Release/obj.target/third_party/webrtc/modules/libpaced_sender.a out/Release/obj.target/third_party/webrtc/modules/libremote_bitrate_estimator.a out/Release/obj.target/third_party/webrtc/modules/remote_bitrate_estimator/librbe_components.a out/Release/obj.target/third_party/webrtc/modules/libbitrate_controller.a out/Release/obj.target/third_party/webrtc/modules/libvideo_processing.a out/Release/obj.target/third_party/webrtc/voice_engine/libvoice_engine.a out/Release/obj.target/third_party/webrtc/modules/libaudio_conference_mixer.a out/Release/obj.target/third_party/webrtc/modules/libaudio_processing.a out/Release/obj.target/third_party/webrtc/modules/libaudioproc_debug_proto.a out/Release/obj.target/third_party/webrtc/modules/libaudio_device.a out/Release/obj.target/components/libvisitedlink_renderer.a out/Release/obj.target/third_party/smhasher/libmurmurhash3.a -Wl,–end-group -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lX11 -lXcursor -lXrender -lXss -lXext -lrt -ldl -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lXtst -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lXi -lsmime3 -lnss3 -lnssutil3 -lresolv -lXcomposite -lasound -lXdamage -lXfixes -ljpeg -lpci -lxml2 -lxslt -lz -lm -lexpat -lspeechd -ldbus-1 -ludev
out/Release/obj.target/skia/../skia_opts/third_party/skia/src/opts/opts_check_arm.o: In function `SkMemset16GetPlatformProc()':
opts_check_arm.cpp:(.text._Z25SkMemset16GetPlatformProcv+0x18): undefined reference to `arm_memset16'
out/Release/obj.target/skia/../skia_opts/third_party/skia/src/opts/opts_check_arm.o: In function `SkMemset32GetPlatformProc()':
opts_check_arm.cpp:(.text._Z25SkMemset32GetPlatformProcv+0x18): undefined reference to `arm_memset32'
collect2: error: ld returned 1 exit status
make: *** [out/Release/chrome] Error 1

Full log: https://crux-arm.nu/~pitillo/log/chromium-raspberrypi.log.tar.xz

 74 CRUX-ARMports/opt-armBug ReportMedium firefox: (efikamx) 39.0-2 - gcc Illegal instruction fai ...Closed
100%
Task Description

Currently with default efikamx rootfs i get an illegal instruction fail (efikamx smartbook):

prt-get depinst firefox.. (full log at http://pastebin.com/LYFwgjDA )
....
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/netwerk/dns’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/toolkit/devtools/security’ Unified_cpp_devtools_security0.o
libtoolkit_devtools_security.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/toolkit/devtools/security’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/widget’ nsBaseWidget.o
Unified_cpp_widget0.o
liburiloader_prefetch.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/uriloader/prefetch’ Unified_cpp_widget1.o
Unified_cpp_widget2.o
make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor’ Unified_cpp_editor_libeditor0.o
Unified_cpp_editor_libeditor1.o
Unified_cpp_editor_libeditor2.o
libwidget.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/widget’ In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:11:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsEditor.cpp: In member function ‘nsresult nsEditor::JoinNodes(nsINode&, nsINode&)’:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsEditor.cpp:1507:10: warning: ‘result’ may be used uninitialized in this function [-Wmaybe-uninitialized]

 return result;
        ^

make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/battery’ BatteryManager.o
libdom_battery.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/battery’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/security/manager/boot/src’ Unified_cpp_manager_boot_src0.o
libsecurity_manager_boot_src.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/security/manager/boot/src’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/mathml’ Unified_cpp_dom_mathml0.o
libdom_mathml.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/mathml’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/intl/uconv’ Unified_c_intl_uconv0.o
Unified_cpp_intl_uconv0.o
Unified_cpp_intl_uconv1.o
Unified_cpp_intl_uconv2.o
Unified_cpp_intl_uconv3.o
Unified_cpp_intl_uconv4.o
Unified_cpp_intl_uconv5.o
Unified_cpp_intl_uconv6.o
libintl_uconv.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/intl/uconv’ make[5]: Entering directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/accessible/base’ Unified_cpp_accessible_base0.o
Unified_cpp_accessible_base1.o
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:110:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLEditor.cpp: In member function ‘virtual nsresult nsHTMLEditor::BeginningOfDocument()’:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLEditor.cpp:579:48: warning: ‘selOffset’ may be used uninitialized in this function [-Wmaybe-uninitialized]

 return selection->Collapse(selNode, selOffset);
                                              ^

In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:137:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLInlineTableEditor.cpp: At global scope:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLInlineTableEditor.cpp:271:1: internal compiler error: Illegal instruction
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

In the directory /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor
The following command failed to execute properly:
c++ -o Unified_cpp_editor_libeditor1.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/gcc_hidden.h -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor -I. -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/base -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/txmgr -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/extensions/spellcheck/src -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/generic -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/style -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/tables -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/xul -I../../dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_editor_libeditor1.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fomit-frame-pointer /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:930: recipe for target ‘Unified_cpp_editor_libeditor1.o’ failed
make[5]: * [Unified_cpp_editor_libeditor1.o] Error 1
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor’ /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:74: recipe for target ‘editor/libeditor/target’ failed
make[4]:
* [editor/libeditor/target] Error 2
make[4]: * Waiting for unfinished jobs....
libaccessible_base.a.desc
make[5]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/accessible/base’ make[4]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared’ /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:36: recipe for target ‘compile’ failed
make[3]:
* [compile] Error 2
make[3]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared’ /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:541: recipe for target ‘default’ failed
make[2]: * [default] Error 2
make[2]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared’ /usr/ports/opt-arm/firefox/work/src/mozilla-release/client.mk:400: recipe for target ‘realbuild’ failed
make[1]:
* [realbuild] Error 2
make[1]: Leaving directory ‘/usr/ports/opt-arm/firefox/work/src/mozilla-release’ client.mk:171: recipe for target ‘build’ failed
make: *** [build] Error 2
======⇒ ERROR: Building ‘/usr/ports/opt-arm/firefox/firefox#39.0-2.pkg.tar.gz’ failed.

 76 CRUX-ARMports/opt-armBug ReportMedium icu: build problem Closed
100%
Task Description

We are facing a problem while building icu port:

...
mkdir uconvmsg
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg root.txt
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/genrb -e UTF-8 -s resources -d uconvmsg fr.txt
../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.56: internal error
Makefile:173: recipe for target ‘uconvmsg/root.res’ failed
make[2]: * [uconvmsg/root.res] Error 127
make[2]:
* Waiting for unfinished jobs....
../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.56: internal error
Makefile:173: recipe for target ‘uconvmsg/fr.res’ failed
make[2]: * [uconvmsg/fr.res] Error 127
make[3]: Entering directory ‘/home/pkgmk/work/src/icu/source/extra/uconv’ rm -rf pkgdata.inc
make[3]: Leaving directory ‘/home/pkgmk/work/src/icu/source/extra/uconv’ make[2]: Leaving directory ‘/home/pkgmk/work/src/icu/source/extra/uconv’ Makefile:47: recipe for target ‘all-recursive’ failed
make[1]:
* [all-recursive] Error 2
make[1]: Leaving directory ‘/home/pkgmk/work/src/icu/source/extra’ Makefile:143: recipe for target ‘all-recursive’ failed
make: *** [all-recursive] Error 2
======⇒ ERROR: Building ‘/home/pkgmk/pkg/icu#56.1-1.pkg.tar.xz’ failed.
prt-get: error while install

We can see that needed libs aren’t detected:
# ldd genrb

      libicutu.so.56 => not found
      libicui18n.so.56 => not found
      libicuuc.so.56 => not found
      libicudata.so.56 => not found
      libpthread.so.0 => /lib/libpthread.so.0 (0xb6f14000)
      libdl.so.2 => /lib/libdl.so.2 (0xb6f01000)
      libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6dc1000)
      libm.so.6 => /lib/libm.so.6 (0xb6d46000)
      libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6d19000)
      libc.so.6 => /lib/libc.so.6 (0xb6bde000)
      /lib/ld-linux-armhf.so.3 (0xb6f3d000)

Needed libraries are found in ./source/lib/. Trying to run the binary exporting LD_LIBRARY_PATH=./source/lib ./source/bin/genrb doesn’t work.

 5 CRUX-ARMports/opt-armBug ReportLow git: failed to build some perl modules Closed
100%
Task Description

we should fix that when started to work with port’s overlays (and maybe this problem is related to our current perl port)

[...]
+ mv /dev/shm/pkgmk-git/pkg/usr/share/man/man3/Git.3pm /dev/shm/pkgmk-git/pkg/usr/share/man/man3/private-Error.3pm /dev/shm/pkgmk-git/pkg/usr/man/man3/
mv: cannot stat `/dev/shm/pkgmk-git/pkg/usr/share/man/man3/Git.3pm’: No such file or directory
mv: cannot stat `/dev/shm/pkgmk-git/pkg/usr/share/man/man3/private-Error.3pm’: No such file or directory
======⇒ ERROR: Building ‘/usr/pkg/git#1.7.4.1-1.pkg.tar.gz’ failed.
prt-get: error while install

– Packages where install failed
git

 6 CRUX-ARMports/opt-armBug ReportLow python: footprint mismatch Closed
100%
Task Description

We should investigate why? And then we could fix the build, or update the footprint on the overlay:

[...]
======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm.so
NEW -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm_failed.so
======⇒ ERROR: Building ‘/usr/pkg/python#2.7.1-1.pkg.tar.gz’ failed.

 9 CRUX-ARMports/opt-armBug ReportLow mysql: failed compilation Closed
100%
Task Description

[ 63%] Building C object libmysql/CMakeFiles/clientlib.dir//sql-common/client_plugin.c.o
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c: In function ‘mysql_client_plugin_init’:
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:247:5: error: incompatible type for argument 5 of ‘add_plugin’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:120:1: note: expected ‘va_list’ but argument is of type ‘int’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c: In function ‘mysql_client_register_plugin’:
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:305:5: error: incompatible type for argument 5 of ‘add_plugin’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:120:1: note: expected ‘va_list’ but argument is of type ‘int’ make[2]: * [libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o] Error 1
make[1]:
* [libmysql/CMakeFiles/clientlib.dir/all] Error 2
make: *** [all] Error 2
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mysql#5.5.12-1.pkg.tar.gz’ failed.

 28 CRUX-ARMports/opt-armBug ReportLow ruby: footprint mistmach due arm-eabi  Closed
100%
Task Description

We need to update ruby’s .footprint to fit with current arch and ABI.
NEW drwxr-xr-x root/root usr/lib/ruby/1.9/linux-eabi/

 29 CRUX-ARMports/opt-armBug ReportLow nmap: footprint mismatch found Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/bin/nmap-update
MISSING -rw-r–r– root/root usr/man/man1/nmap-update.1.gz
======⇒ ERROR: Building '/pub/pkg/contrib/nmap#6.00-1.pkg.tar.xz' failed.

checking svn_client.h usability... no
checking svn_client.h presence... no
checking for svn_client.h... no
checking subversion-1/svn_client.h usability... no
checking subversion-1/svn_client.h presence... no
checking for subversion-1/svn_client.h... no
configure: WARNING: Not building nmap-update because libsvn1 was not found

IMHO, we should wait until upstream decission

 36 CRUX-ARMports/opt-armBug ReportLow python 2.7.3 fails with dbm error Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm.so
NEW -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm_failed.so

 39 CRUX-ARMports/opt-armBug ReportLow gst-plugins-base fails during assembler Closed
100%
Task Description

Here is a build of opt/gst-plugins-base (on the cubox) during which the assembler reports:

{standard input}: Assembler messages:
{standard input}:586: Error: immediate value out of range – `movt r2,-32640’ {standard input}:656: Error: immediate value out of range – `movt r2,-32640’

http://sprunge.us/CdeD

The cubox may have some pre-patched or pre-build gstreamer packages for hardware acceleration, but I have not yet investigated them.

 77 CRUX-ARMports/opt-armBug ReportLow python: lacks sem_open calls Closed
100%
Task Description

We need to be sure we build python (generic native build) with shm mounted.

 19 CRUX-ARMports/efikamx-armBug ReportMedium udev: version >= 175 and problems with some device kern ...Closed
100%
Task Description

For example, on efika’s there is a problems booting kernel 2.6.31.14.27 and current udev 175

Lot of errors (udevd[XXX]: unable to receive ctrl connection: Function not implemented) spammed and a wait time to finish booting around 2 minutes.

Debian has a patch for kernel which could be good to take a look and decide if could be interesting to apply it to current CRUX-ARM kernel for efikamx device.

Link to patch propossal and explanation:
http://lists.debian.org/debian-kernel/2011/11/msg00241.html

 72 CRUX-ARMports/efikamx-armBug ReportLow efikamx devices Closed
100%
Task Description

Current libgmp version 5.0.5 fails with assembler error.

The problem is located on upstream Pkgfile which forces the build for i686.
[...]
tmp-add_n.s: Assembler messages:
tmp-add_n.s:79: Error: bad instruction `xor %edx,%edx’ [...]

From the original Pkgfile, it specifies:
–build=i686-pc-linux-gnu

Solution:
- Use current build vars for both ABI’s:
- softfp: –build=arm-unknown-linux-gnueabi

 44 CRUX-ARMports/cubox-armhfBug ReportLow Looking for ports/cubox git repo Closed
100%
Task Description

Hi, I have some ports for cubox-specific features that I'd like to start uploading into a ports/cubox git repo if that is something that should be hosted by the crux-arm project. We'll probably talk about it on IRC but this FS issue will be a reminder.

 38 CRUX-ARMports/cubox-armBug ReportLow Xorg input devices not working with udev 167, working w ...Closed
100%
Task Description

Xorg input devices would not work for me using core-arm/udev (version 167) on a cubox platform.

I upgraded to version 182 and the input devices worked fine. I had to patch udev to replace calls to accept4() with accept(). Pkgfile (based on core/udev) and patch appear below:

######## Pkgfile ############
# Description: Userspace device management daemon
# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html # Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: kmod

name=udev version=182
release=1
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.x
z \

      pre-accept4-kernel.patch 81-crux.rules start_udev)

build() {

  cd udev-$version
  patch -p1 < $SRC/pre-accept4-kernel.patch
  ./configure --prefix=/usr \
              --sbindir=/sbin --bindir=/sbin \
              --sysconfdir=/etc \
              --with-rootlibdir=/lib \
              --with-rootprefix= \
              --libexecdir=/lib \
              --mandir=/usr/man \
              --disable-introspection \
              --disable-gudev \
              --disable-udev_acl \                                                                                                                                                                                                                         --disable-keymap \
              --enable-static \
              --enable-rule_generator                                                                                                                                                                                                      
  make
  make install DESTDIR=$PKG
  mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}}
  mkdir -p $PKG/{lib,sbin,run}
  
  # Symlink to udevd
  ln -s ../lib/udev/udevd $PKG/sbin/udevd
  # Add CRUX items
  install -m 0755 $SRC/start_udev $PKG/sbin
  install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
                                                                                                                                                                                                                                               # Remove junk
  rm -r $PKG/usr/share/{gtk-,}doc

}

######### pre-accept4-kernel.patch ###########
diff -urN a/src/udev-ctrl.c b/src/udev-ctrl.c
— a/src/udev-ctrl.c 2011-10-09 17:10:32.000000000 -0600
+++ b/src/udev-ctrl.c 2011-10-25 15:11:09.000000000 -0600
@@ -15,6 +15,7 @@
#include <stddef.h>
#include <string.h>
#include <unistd.h>
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <sys/socket.h> @@ -182,6 +183,7 @@

       struct ucred ucred;
       socklen_t slen;
       const int on = 1;

+ int flgs;

       conn = calloc(1, sizeof(struct udev_ctrl_connection));
       if (conn == NULL)

@@ -189,13 +191,19 @@

       conn->refcount = 1;
       conn->uctrl = uctrl;


- conn→sock = accept4(uctrl→sock, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK);
+ conn→sock = accept4(uctrl→sock, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK);
+ conn→sock = accept(uctrl→sock, NULL, NULL);
if (conn→sock < 0) {
if (errno != EINTR)
err(uctrl→udev, "unable to receive ctrl connection: %m\n");
goto err;
}
+
Since we don't have accept4
+ flgs = fcntl(conn→sock, F_GETFL, NULL); + if(flgs >= 0) fcntl(conn→sock, F_SETFL, flgs | O_NONBLOCK);
+ fcntl(conn→sock, F_SETFD, FD_CLOEXEC); +

       /* check peer credential of connection */                                                                                                                                                                                                    slen = sizeof(ucred);
       if (getsockopt(conn->sock, SOL_SOCKET, SO_PEERCRED, &ucred, &slen) < 0) {
 68 CRUX-ARMports/cubieboard-armUpdate RequestMedium firefox: build update to 26.0 fails in cubieboard Closed
100%
Task Description

Current error trying to build firefox on the cubieboard:

c++ -o BufferUnrotate.o -c -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR
_10_SUPPORT -DOS_POSIX=1 -DOS_LINUX=1 -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders -I../../content/events/src -I/fr
ameworks/base/include/media/stagefright -I/frameworks/base/include/media/stagefright/openmax -I/frameworks/av/include/media/stagefright -I/frame
works/native/include/media/openmax -I../../gfx/layers -I. -I../../dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_C
LIENT -include ../../mozilla-config.h -MD -MP -MF .deps/BufferUnrotate.o.pp -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wty
pe-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -O2 -pipe -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -fno-exceptio
ns -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTR
IMMED -g -O2 -pipe -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a8 -mtune=cortex-a8 -fomit-frame-pointer -I/usr/include/cairo -I/usr/include/glib-2.
0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/cairo -I/usr/include/glib
-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/pixman-1 -I../../widg
et/gtk2/compat -pthread -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/pa
ngo-1.0 -I/usr/include/harfbuzz -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/p
ixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/glib-2.0 -I/usr/li
b/glib-2.0/include /mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp
/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp: In function 'void BufferUnrotate(uint8_t*, int, int, int, int, int)':
/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp:34:60: error: 'memcpy' was not declared in this scope
/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp:35:86: error: 'memmove' was not declared in this scope
/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp:57:77: error: 'memcpy' was not declared in this scope
/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers/BufferUnrotate.cpp:58:90: error: 'memmove' was not declared in this scope
make[3]: * [BufferUnrotate.o] Error 1
make[3]: Leaving directory `/mnt/work_cb1/firefox/src/mozilla-release/gfx/layers'
make[2]:
* [compile] Error 2
make[2]: Leaving directory `/mnt/work_cb1/firefox/src/mozilla-release/gfx'
make[1]: * [compile] Error 2
make[1]: Leaving directory `/mnt/work_cb1/firefox/src/mozilla-release'
make:
* [default] Error 2

There is a patch to solve it. Currently testing locally.

— a/mozilla-release/gfx/layers/BufferUnrotate.cpp
+++ b/mozilla-release/gfx/layers/BufferUnrotate.cpp
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h> /* memcpy() memmove() */

void BufferUnrotate(uint8_t* aBuffer, int aByteWidth, int aHeight,

                   int aByteStride, int aXBoundary, int aYBoundary)
 26 CRUX-ARMports/core-crossBug ReportMedium Remove ports that do not appear in the upstream core or ...Closed
100%
Task Description

This script may help to discover those ports to remove:
https://crux-arm.nu/gitweb?p=devtools.git;a=blob;f=getCoreDiff.sh

 4 CRUX-ARMports/core-crossBug ReportLow perl: update to 5.12.3 Closed
100%
Task Description

There are some problems trying to cross-build perl to the new version.
Here there are some notes about the work done (but not working):
- The Pkgfile tries to build the needed hosts tools and then build perl.
- The config provided got from versatile native configure.
May be a bad way to try to cross-build it. Waiting comments and suggestions to cross-build perl.

 1 CRUX-ARMports/core-crossBug ReportVery Low Sample Task Closed
100%
Task Description

This isn't a real task. You should close it and start opening some real tasks.

 23 CRUX-ARMports/core-armhfBug ReportHigh Change triplet in ports collection and add bash port to ...Closed
100%
Task Description

Triplet to use in the overlay: arm-crux-linux-gnueabihf
We need to change the triplet for: libgmp binutils, glibc and gcc.
We need to add bash, and force the use of this triplet to don’t break MACHTYPE (add –build=arm-unknown-linux-gnueabihf too)

 32 CRUX-ARMports/core-armhfBug ReportHigh libgmp: upstream version error on build. Closed
100%
Task Description

Current libgmp version 5.0.5 fails with assembler error.

The problem is located on upstream Pkgfile which forces the build for i686.
[...]
tmp-add_n.s: Assembler messages:
tmp-add_n.s:79: Error: bad instruction `xor %edx,%edx'
[...]

From the original Pkgfile, it specifies:
–build=i686-pc-linux-gnu

Solution:
- Use current build vars for both ABI's:

  1. hardfp: –build=arm-unknown-linux-gnueabihf
 34 CRUX-ARMports/core-armhfBug ReportHigh util-linux-ng: footprint mistmatch Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING lrwxrwxrwx root/root usr/bin/i386 → setarch
MISSING -rw-r–r– root/root usr/man/man8/i386.8.gz

We need an overlay for this port to fix this arch mistmatch.

 18 CRUX-ARMports/core-armBug ReportHigh gcc: fix triplet usage on 2.7 branch Closed
100%
Task Description

gcc packages generated by crosscompilation (core-cross) have these triplets: arm-crux-linux-gnueabi and arm-crux-linux-gnueabihf

The idea would be to have the same triplet for packages generated by native compilation on stage2, so only in this case we could release stage2 packages.

ATM, core-arm its ok for 2.7-hardfp branch but we should fix the default branch to use arm-crux-linux-gnueabi instead of machtype detected: armv7l-unkown-linux-gnueabi

One possible fix would be to use –build=arm-crux-linux-gnueabi in the overlay (core-arm)

 22 CRUX-ARMports/core-armBug ReportHigh Change triplet in ports collection and add bash port to ...Closed
100%
Task Description

Triplet to use in the overlay: arm-crux-linux-gnueabi
We need to change the triplet for: libgmp binutils, glibc and gcc.
We need to add bash, and force the use of this triplet to don’t break MACHTYPE (add –build=arm-unknown-linux-gnueabi too)

 31 CRUX-ARMports/core-armBug ReportHigh libgmp: upstream version error on build. Closed
100%
Task Description

Current libgmp version 5.0.5 fails with assembler error.

The problem is located on upstream Pkgfile which forces the build for i686.
[...]
tmp-add_n.s: Assembler messages:
tmp-add_n.s:79: Error: bad instruction `xor %edx,%edx’ [...]

From the original Pkgfile, it specifies:
–build=i686-pc-linux-gnu

Solution:
- Use current build vars for both ABI’s:

  1. softfp: –build=arm-unknown-linux-gnueabi
 33 CRUX-ARMports/core-armBug ReportHigh util-linux-ng: footprint mistmatch Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING lrwxrwxrwx root/root usr/bin/i386 → setarch
MISSING -rw-r–r– root/root usr/man/man8/i386.8.gz

We need an overlay for this port to fix this arch mistmatch.

 57 CRUX-ARMports/core-armBug ReportHigh iptables: generic build fails Closed
100%
Task Description

iptables fails in the generic build:

CCLD libip6t_NETMAP.so
/usr/bin/ld: cannot find -lip6tc
collect2: error: ld returned 1 exit status
make[2]: *** [libip6t_NETMAP.so] Error 1

 69 CRUX-ARMports/core-armBug ReportHigh pkgutils version "unsynced" between core-arm and overla ...Closed
100%
Task Description

We can see that overlays aren’t providing the right version for pkgutils.

In ports/core-arm we can see version 5.35.5 and in the overlays we see version 5.35.3.

Waiting comments to see what to do (not many differences between those versions but IMHO they should be fixed in overlays).

 8 CRUX-ARMports/core-armBug ReportLow libgmp: failed to compile due to bad triplet variable Closed
100%
Task Description

We should fix this on the future core overlay for ports, so ATM libgmp from upstream ports is getting the triplet as i686-pc-linux-gnu which should be switched to arm-crux-linux-gnueabi.

# prt-get update -fr libgmp
prt-get: updating /usr/ports/core/libgmp
======⇒ Building ‘/usr/pkg/libgmp#5.0.2-1.pkg.tar.gz’.
bsdtar -p -o -C /dev/shm/pkgmk-libgmp/src -xf /usr/pkg/src/gmp-5.0.2.tar.bz2
+ build
+ cd gmp-5.0.2
+ ABI=32
+ ./configure –prefix=/usr –enable-cxx –build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
[...]

 10 CRUX-ARMports/core-armBug ReportLow libgmp: it's fixed to ABI=32 and i686 Closed
100%
Task Description

Possible patch (needs testing and a better review/fix (to don’t force armv7l):

— libgmp.orig/Pkgfile 2011-05-27 08:36:09.000000000 +0200
+++ libgmp/Pkgfile 2011-05-27 08:36:01.000000000 +0200
@@ -9,9 +9,9 @@

build() {

   cd gmp-$version

- ABI=32 ./configure –prefix=/usr \
- –enable-cxx \
- –build=i686-pc-linux-gnu
+ ./configure –prefix=/usr \
+ –enable-cxx \
+ –build=armv7l-unknown-linux-gnueabi

   make
   make DESTDIR=$PKG install
   rm -r $PKG/usr/share
 11 CRUX-ARMports/core-armBug ReportLow kbd: failed to build Closed
100%
Task Description

make[1]: Leaving directory `/dev/shm/pkgmk-kbd/src/kbd-1.15.3’ + ln -sf default8x16.psfu.gz /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/consolefonts/default.gz
+ rm -r /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/keymaps/ppc /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/keymaps/mac /dev/shm/pkgmk-kbd/pkg/usr/sharn
+ rm /dev/shm/pkgmk-kbd/pkg/usr/bin/loadunimap /dev/shm/pkgmk-kbd/pkg/usr/bin/mapscrn /dev/shm/pkgmk-kbd/pkg/usr/bin/resizecons /dev/shm/e
rm: cannot remove `/dev/shm/pkgmk-kbd/pkg/usr/bin/resizecons’: No such file or directory
======⇒ ERROR: Building ‘/usr/pkg/kbd#1.15.3-1.pkg.tar.gz’ failed.

 15 CRUX-ARMports/core-armBug ReportLow perl: footprint mismatch Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
NEW -rw-r–r– root/root usr/lib/perl5/5.12/linux-thread-multi/ODBM_File.pm
NEW drwxr-xr-x root/root usr/lib/perl5/5.12/linux-thread-multi/auto/ODBM_File/
NEW -rwxr-xr-x root/root usr/lib/perl5/5.12/linux-thread-multi/auto/ODBM_File/ODBM_File
.so
NEW -rw-r–r– root/root usr/man/man3/ODBM_File.3pm.gz
======⇒ ERROR: Building ‘/usr/ports/pkg/perl#5.12.4-1.pkg.tar.xz’ failed.

 17 CRUX-ARMports/core-armBug ReportLow test2: filed only for test Closed
100%
Task Description

test2

 25 CRUX-ARMports/core-armBug ReportLow libmpfr: p9 testsuite freeze on 32b machines. Closed
100%
Task Description

The underflow detection code of mpfr_gamma is buggy: some results may incorrectly be regarded as underflow.
This bug is fixed by the gamma-underflow patch, which also provides a testcase. Warning! While this patch avoids incorrect results on values close to underflow, it makes another problem appear: a possible infinite loop for some underflow cases. In particular, the testsuite will freeze on 32-bit machines.

 35 CRUX-ARMports/core-armBug ReportLow Cubox boot.script needs to change Closed
100%
Task Description

Hello,

When performing an install of Crux on the Cubox device, I use a USB flash drive to store the uImage and uInitrd. Currently, the uboot.git boot-ram.script reads:

setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootwait ro;

But it should actually read:

setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootdelay=10 ro;

The long rootdelay is required for the USB flash drive to be detected by the kernel. Since the Crux media is located on the USB flash drive, "rootwait" results in an installer that can't find crux media to load.

 73 CRUX-ARMports/core-armFeature RequestLow Add zlib support to kmod Closed
100%
Task Description

It’s nice to be able to gzip modules to save space. Can –with-zlib please be added to kmod? I have it working well with my setup but it would be nice if this was mainlined.

Thanks!

 49 CRUX-ARMpkgutils-crossBug ReportMedium Missing pkginfo link to pkgadd in pkgutils-cross Closed
100%
Task Description

pkginfo-cross fails because there is no pkginfo link to pkgadd created

pkginfo-cross: line 20: pkginfo: No such file or directory

Showing tasks 1 - 50 of 78 Page 1 of 21 - 2 -

Available keyboard shortcuts

Tasklist

Task Details

Task Editing