|
68 | CRUX-ARM | ports/cubieboard-arm | Update Request | Medium | firefox: build update to 26.0 fails in cubieboard | Closed | |
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)
|
|
20 | CRUX-ARM | toolchain | Improvement | Low | toolchain 2.6 (eabi/noeabi) problem with glibc and make ... | Closed | |
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
|
|
2 | CRUX-ARM | devtools | Improvement | Low | makeRelease.sh: redirect stdout while running the scrip... | Assigned | |
Task Description
It would be nice to redirect some part of the output while running the script. With that ouput we could create a file like crux-arm-2.7-test1.packages or similar which should include a list with all package versions. The result file will help us to create the Changelog's stuff, etc.
|
|
64 | CRUX-ARM | initramfs | Improvement | Low | initramfs: resolving dns problems (bad address) | Closed | |
Task Description
Since we are adding all needed files to get dns resolved, probably we can think about this and remove it or fix it adding libc and ld-linux-armhf files.
# ping localhost ping: bad address
Final initramfs size will grow 1M. Removing libnss and libresolv files won't make it decrease too much. Could this be interesting for a debugging initramfs and not for a media installer?
Small patch to add those files: diff –git a/Makefile b/Makefile index 5338441..7d88f5f 100644 — a/Makefile +++ b/Makefile @@ -152,6 +152,7 @@ $(WORK)/initramfs.cpio: check-root busybox e2fsprogs dialog $(WORK)/mnt gen_init
done
install -v -m 0755 $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog $(WORK)/mnt/usr/bin
cp -dRv $(CLFS)/lib/libnss_{files*,dns*} $(CLFS)/lib/libresolv* $(WORK)/mnt/lib
+ cp -dRv $(CLFS)/lib/{ld-linux-armhf.so.3,libc-2.16.so,libc.so.6} $(WORK)/mnt/lib
install -d $(WORK)/mnt/usr/share/terminfo
cp -dRv $(CLFS)/usr/share/terminfo/v $(WORK)/mnt/usr/share/terminfo
install -v -m 0644 $(TOPDIR)/filesystem/{fstab,inittab,profile,protocols,*.conf} $(WORK)/mnt/etc
|
|
30 | CRUX-ARM | bootloader | Improvement | Low | efikamx: unable to load boot.scr from /boot directory | Closed | |
Task Description
by default, uboot on efikamx is configured to load boot.scr files from the topdir of mmc and ide devices, but it would be useful to have a similar behaviour than upstream and place bootloader stuff + kernel images, etc. in /boot directory
this is the default boot command for uboot on efikamx:
bootcmd=for device in "mmc ide"; do if strcmp ${device} == mmc; then; mmcinit; setenv units "0 1"; else; setenv units "0"; fi; for interface in ${units}; do if strcmp ${device} == mmc; then mmcprobe ${interface}; else; ide reset; fi; for fs in "ext2 fat"; do setenv loadcmd "${fs}load ${device} 0:1"; if ${loadcmd} ${scriptaddr} boot.scr; then; if imi ${scriptaddr}; then; autoscr ${scriptaddr}; fi; fi; done; done; done;
maybe it will work by replacing boot.scr by /boot/boot.scr?
|
|
63 | CRUX-ARM | devtools | Improvement | Low | devtools: add <device>-arm support to checkOverlayUpdat ... | Closed | |
Task Description
The script is useful to obtain ports from core-arm, opt-arm, xorg-arm overlays which are updated in upstream core, opt and xorg. It would be fine to check ports for 'per device' overlays since gcc, pkgutils, ports and prt-get are ports that we overlayed for each device. In this case, the script should check each port against the upstream repo where the port is located. For example,
case $repo in
efikamx|cubieboard|cubieboard2|raspberrypi)
# foreach port in repo
for port in $PORTS; do
# get upstream repo where the port is located
upstream_repo=""
for up_repo in core opt xorg; do
upstream_repo="$(basename $(dirname $(prt-get --no-std-config --config-prepend="prtdir /usr/ports/$up_repo" path $port 2>/dev/null) 2>/dev/null) 2>/dev/null)"
done
[ "$upstream_repo" == "" ] && exit
# continue
...
|
|
24 | CRUX-ARM | documentation | Improvement | Low | Configuration per device | Assigned | |
Task Description
We should think in a way to have enough documentation for every device support. That includes:
1) Installation
Should support all devices if not it should be noted in one section called Exceptions or similar
Should be homogeneous for branches
In wikipages could be called https://crux-arm.nu/Documentation/GeneralSetup, the one we have now but is empty ATM
2) Postinstallation tips (per <device>)
Dedicated tips only related to finish the installation not the configuration
With a General section (if required) and a section per device supported(*)
In wikipages could be called https://crux-arm.nu/Documentation/PostInstallation
3) Configuration tips (per <device>)
Dedicated tips related to configurations, as for example prt-get.conf, ports per device: etc/ports/<device>.rsync, etc.
With a General section (if required) and a section per device supported(*)
In wikipages could be called https://crux-arm.nu/Documentation/ConfigurationTips, the one we have now but is empty ATM
* section per device supported could be in the form of another doc like ConfigurationTips.efikamx or ConfigurationTips/efikamx
or it could be implemented with links to files/per/device stored in our webspace
ideas?
|
|
45 | CRUX-ARM | bootloader | Feature Request | Low | MUhRIH <a href="http://hckguwwxxtal.com/">hckguwwxxtal ... | Closed | |
Task Description
MUhRIH <a href="http://hckguwwxxtal.com/">hckguwwxxtal</a>, [url=http://kvdowxxjwqhs.com/]kvdowxxjwqhs[/url], [link=http://kbsgkdubbjvq.com/]kbsgkdubbjvq[/link], http://bjluubgmdbxt.com/
|
|
56 | CRUX-ARM | general | Feature Request | Low | MAKEFLAGS should not fail if defined greater than 1 job | Researching | |
Task Description
Review all our source tree so that if one tries to use MAKEFLAGS should not fail.
Right now would have to set those parts that need to be forced to -j1.
|
|
73 | CRUX-ARM | ports/core-arm | Feature Request | Low | Add zlib support to kmod | Closed | |
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!
|
|
38 | CRUX-ARM | ports/cubox-arm | Bug Report | Low | Xorg input devices not working with udev 167, working w ... | Closed | |
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) {
|
|
33 | CRUX-ARM | ports/core-arm | Bug Report | High | util-linux-ng: footprint mistmatch | Closed | |
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.
|
|
34 | CRUX-ARM | ports/core-armhf | Bug Report | High | util-linux-ng: footprint mistmatch | Closed | |
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.
|
|
48 | CRUX-ARM | ports/opt-cross | Bug Report | Low | URL invalid for subversion | Closed | |
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.
|
|
19 | CRUX-ARM | ports/efikamx-arm | Bug Report | Medium | udev: version >= 175 and problems with some device kern ... | Closed | |
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
|
|
52 | CRUX-ARM | crossrootfs | Bug Report | Medium | udev 182 fails with libtool linking with host | Closed | |
Task Description
arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./src -DSYSCONFDIR=\""/etc"\" -DPKGLIBEXECDIR=\""/lib/udev"\" -DFIRMWARE_PATH="\"/lib/firmware/updates/\", \ "/lib/firmware/\"" -DUSB_DATABASE=\"/usr/share/usb.ids\" -DPCI_DATABASE=\"/des/crux-arm/3.0/toolchain/clfs/usr/share\" -I/usr/include/blkid -I/usr/include/uuid -O2 -pipe -mfloat -abi=hard -MT src/udevadm-udevadm-test.o -MD -MP -MF src/.deps/udevadm-udevadm-test.Tpo -c -o src/udevadm-udevadm-test.o `test -f 'src/udevadm-test.c' || echo './'`src/udevadm-test .c mv -f src/.deps/udevadm-udevadm-test.Tpo src/.deps/udevadm-udevadm-test.Po arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./src -DSYSCONFDIR=\""/etc"\" -DPKGLIBEXECDIR=\""/lib/udev"\" -DFIRMWARE_PATH="\"/lib/firmware/updates/\", \ "/lib/firmware/\"" -DUSB_DATABASE=\"/usr/share/usb.ids\" -DPCI_DATABASE=\"/des/crux-arm/3.0/toolchain/clfs/usr/share\" -I/usr/include/blkid -I/usr/include/uuid -O2 -pipe -mfloat -abi=hard -MT src/udevadm-udevadm-test-builtin.o -MD -MP -MF src/.deps/udevadm-udevadm-test-builtin.Tpo -c -o src/udevadm-udevadm-test-builtin.o `test -f 'src/udevadm-test-builtin. c' || echo './'`src/udevadm-test-builtin.c mv -f src/.deps/udevadm-udevadm-test-builtin.Tpo src/.deps/udevadm-udevadm-test-builtin.Po /bin/sh ./libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -I/usr/include/blkid -I/usr/include/uuid -O2 -pipe -mfloat-abi=hard -Wl,–gc-sections -Wl,–as-needed -o u devadm src/udevadm-udev-event.o src/udevadm-udev-watch.o src/udevadm-udev-node.o src/udevadm-udev-rules.o src/udevadm-udev-ctrl.o src/udevadm-udev-builtin.o src/udevadm-udev-builti n-blkid.o src/udevadm-udev-builtin-firmware.o src/udevadm-udev-builtin-hwdb.o src/udevadm-udev-builtin-input_id.o src/udevadm-udev-builtin-kmod.o src/udevadm-udev-builtin-path_id.o src/udevadm-udev-builtin-usb_id.o src/udevadm-udevadm.o src/udevadm-udevadm-info.o src/udevadm-udevadm-control.o src/udevadm-udevadm-monitor.o src/udevadm-udevadm-settle.o src/ude vadm-udevadm-trigger.o src/udevadm-udevadm-test.o src/udevadm-udevadm-test-builtin.o libudev-private.la -lblkid -lkmod -lrt libtool: link: arm-crux-linux-gnueabihf-gcc -I/usr/include/blkid -I/usr/include/uuid -O2 -pipe -mfloat-abi=hard -Wl,–gc-sections -Wl,–as-needed -o udevadm src/udevadm-udev-event. o src/udevadm-udev-watch.o src/udevadm-udev-node.o src/udevadm-udev-rules.o src/udevadm-udev-ctrl.o src/udevadm-udev-builtin.o src/udevadm-udev-builtin-blkid.o src/udevadm-udev-bui ltin-firmware.o src/udevadm-udev-builtin-hwdb.o src/udevadm-udev-builtin-input_id.o src/udevadm-udev-builtin-kmod.o src/udevadm-udev-builtin-path_id.o src/udevadm-udev-builtin-usb_ id.o src/udevadm-udevadm.o src/udevadm-udevadm-info.o src/udevadm-udevadm-control.o src/udevadm-udevadm-monitor.o src/udevadm-udevadm-settle.o src/udevadm-udevadm-trigger.o src/ude vadm-udevadm-test.o src/udevadm-udevadm-test-builtin.o ./.libs/libudev-private.a /des/crux-arm/3.0/toolchain/clfs/usr/lib/libblkid.so /usr/lib/libuuid.so /des/crux-arm/3.0/toolcha in/clfs/usr/lib/libkmod.so -lrt -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/lib /usr/lib/libuuid.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make[2]: * [udevadm] Error 1 make[1]: * [all-recursive] Error 1 make: *** [all] Error 2
|
|
37 | CRUX-ARM | website | Bug Report | Low | Typos in Flyspray | Closed | |
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.
|
|
78 | CRUX-ARM | toolchain | Bug Report | Low | toolchain: gcc-static unnecessarily rebuilt | Closed | |
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)
|
|
43 | CRUX-ARM | toolchain | Bug Report | Low | toolchain glibc --enable-obsolete-rpc | Closed | |
Task Description
Check if we can add this option directly in toolchains. This will allow to build initrd without building core-cross' glibc.
|
|
16 | CRUX-ARM | devtools | Bug Report | Low | test: filed only for test | Closed | |
Task Description
test
|
|
17 | CRUX-ARM | ports/core-arm | Bug Report | Low | test2: filed only for test | Closed | |
Task Description
test2
|
|
53 | CRUX-ARM | crossrootfs | Bug Report | Medium | shadow: linking with host | Closed | |
Task Description
/bin/sh ../libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o pwunconv pwunconv.o ../libmisc/libmisc.a ../lib/libshadow.la libtool: link: arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o pwunconv pwunconv.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libmisc -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -mfloat-abi=hard -MT useradd.o -MD -MP -MF .deps/useradd.Tpo -c -o useradd.o useradd.c mv -f .deps/useradd.Tpo .deps/useradd.Po /bin/sh ../libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o useradd useradd.o ../libmisc/libmisc.a ../lib/libshadow.la -lacl -lattr libtool: link: arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o useradd useradd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a /des/crux-arm/3.0/toolchain/clfs/usr/lib/libacl.so /usr/lib/libattr.so /des/crux-arm/3.0/toolchain/clfs/usr/lib/libattr.so -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib /usr/lib/libattr.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make[2]: * [useradd] Error 1 make[2]: Leaving directory `/des/crux-arm/3.0/crossrootfs/shadow/work/src/shadow-4.1.5.1/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/des/crux-arm/3.0/crossrootfs/shadow/work/src/shadow-4.1.5.1' make: * [all] Error 2 /bin/sh ../libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o pwunconv pwunconv.o ../libmisc/libmisc.a ../lib/libshadow.la libtool: link: arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o pwunconv pwunconv.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libmisc -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -mfloat-abi=hard -MT useradd.o -MD -MP -MF .deps/useradd.Tpo -c -o useradd.o useradd.c mv -f .deps/useradd.Tpo .deps/useradd.Po /bin/sh ../libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o useradd useradd.o ../libmisc/libmisc.a ../lib/libshadow.la -lacl -lattr libtool: link: arm-crux-linux-gnueabihf-gcc -O2 -pipe -mfloat-abi=hard -o useradd useradd.o ../libmisc/libmisc.a ../lib/.libs/libshadow.a /des/crux-arm/3.0/toolchain/clfs/usr/lib/libacl.so /usr/lib/libattr.so /des/crux-arm/3.0/toolchain/clfs/usr/lib/libattr.so -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib /usr/lib/libattr.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make[2]: * [useradd] Error 1 make[2]: Leaving directory `/des/crux-arm/3.0/crossrootfs/shadow/work/src/shadow-4.1.5.1/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/des/crux-arm/3.0/crossrootfs/shadow/work/src/shadow-4.1.5.1' make: * [all] Error 2
|
|
1 | CRUX-ARM | ports/core-cross | Bug Report | Very Low | Sample Task | Closed | |
Task Description
This isn't a real task. You should close it and start opening some real tasks.
|
|
28 | CRUX-ARM | ports/opt-arm | Bug Report | Low | ruby: footprint mistmach due arm-eabi | Closed | |
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/
|
|
58 | CRUX-ARM | kernel/cubieboard2 | Bug Report | Low | Review kernel options. | Closed | |
Task Description
Try to cut down not directly related options to this device
|
|
26 | CRUX-ARM | ports/core-cross | Bug Report | Medium | Remove ports that do not appear in the upstream core or ... | Closed | |
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
|
|
77 | CRUX-ARM | ports/opt-arm | Bug Report | Low | python: lacks sem_open calls | Closed | |
Task Description
We need to be sure we build python (generic native build) with shm mounted.
|
|
6 | CRUX-ARM | ports/opt-arm | Bug Report | Low | python: footprint mismatch | Closed | |
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.
|
|
36 | CRUX-ARM | ports/opt-arm | Bug Report | Low | python 2.7.3 fails with dbm error | Closed | |
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
|
|
69 | CRUX-ARM | ports/core-arm | Bug Report | High | pkgutils version "unsynced" between core-arm and overla ... | Closed | |
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).
|
|
4 | CRUX-ARM | ports/core-cross | Bug Report | Low | perl: update to 5.12.3 | Closed | |
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.
|
|
15 | CRUX-ARM | ports/core-arm | Bug Report | Low | perl: footprint mismatch | Closed | |
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.
|
|
12 | CRUX-ARM | kernel/omap850 | Bug Report | Low | omap850: current version 2.6.25 gives problems with ude... | Researching | |
Task Description
udev needs at least kernel version 2.6.27 (specified in the README file provided at sources). There are some error messages while booting 2.7-test1:
error getting socket: invalid argument initiaizing netlink socket error udevadm [382]: error sending message: Connection refued.
Then devices nodes aren't created and we got this too: fsck.ext2: No such file or directory while trying to open /dev/mmcblk0p2
|
|
29 | CRUX-ARM | ports/opt-arm | Bug Report | Low | nmap: footprint mismatch found | Closed | |
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
|
|
9 | CRUX-ARM | ports/opt-arm | Bug Report | Low | mysql: failed compilation | Closed | |
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.
|
|
7 | CRUX-ARM | ports/opt-armhf | Bug Report | Low | mpg123: problem building | Closed | |
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.
|
|
49 | CRUX-ARM | pkgutils-cross | Bug Report | Medium | Missing pkginfo link to pkgadd in pkgutils-cross | Closed | |
Task Description
pkginfo-cross fails because there is no pkginfo link to pkgadd created
pkginfo-cross: line 20: pkginfo: No such file or directory
|
|
13 | CRUX-ARM | ports/xorg-arm | Bug Report | Low | mesa3d: failed compilation | Closed | |
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.
|
|
41 | CRUX-ARM | website | Bug Report | Low | mailman: fix issues with archives | Closed | |
Task Description
We must to fix issues with archives
|
|
40 | CRUX-ARM | website | Bug Report | Medium | Mailing list is broken | Closed | |
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/
|
|
44 | CRUX-ARM | ports/cubox-armhf | Bug Report | Low | Looking for ports/cubox git repo | Closed | |
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.
|
|
71 | CRUX-ARM | crossrootfs | Bug Report | Low | libtool issues with crosscompilation | Closed | |
Task Description
libtool tries to relink during installation but failed due to host libraries
libtool: relink: arm-crux-linux-gnueabihf-g++ -fPIC -DPIC -shared -nostdlib /home/sepen/devel/crux-arm/toolchain/clfs/usr/lib/crti.o /home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/crtbeginS.o .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/limits.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o -Wl,-rpath -Wl,/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -L/home/sepen/devel/crux-arm/ports/crossrootfs/libgmp/work/pkg/usr/lib -L/usr/lib -lgmp -L/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3 -L/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -L/home/sepen/devel/crux-arm/toolchain/clfs/lib -L/home/sepen/devel/crux-arm/toolchain/clfs/usr/lib -L/home/sepen/devel/crux-arm/ports/crossrootfs/libgmp/work/pkg/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -lstdc++ -lm -lc -lgcc_s /home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/crtendS.o /home/sepen/devel/crux-arm/toolchain/clfs/usr/lib/crtn.o -O2 -mfloat-abi=hard -Wl,-soname -Wl,libgmpxx.so.4 -o .libs/libgmpxx.so.4.4.0 /usr/lib/libstdc++.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status libtool: install: error: relink `libgmpxx.la’ with the above command before installing it
There is a good explanation of the problem in this thread:
https://lists.debian.org/debian-devel/2011/02/msg00196.html (Fun with libtool and cross-builds)
We can reproduce that problem when building crossrootfs on a x86_64 host. Our final target is arm 32bits so we can’t link against non-32bits objects, and that is for what we didn’t detect issues when building crossrootfs on a x86 host. I’m not happy with this situation.
|
|
25 | CRUX-ARM | ports/core-arm | Bug Report | Low | libmpfr: p9 testsuite freeze on 32b machines. | Closed | |
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.
|
|
31 | CRUX-ARM | ports/core-arm | Bug Report | High | libgmp: upstream version error on build. | Closed | |
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
|
|
32 | CRUX-ARM | ports/core-armhf | Bug Report | High | libgmp: upstream version error on build. | Closed | |
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:
hardfp: –build=arm-unknown-linux-gnueabihf
|
|
10 | CRUX-ARM | ports/core-arm | Bug Report | Low | libgmp: it's fixed to ABI=32 and i686 | Closed | |
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
|
|
8 | CRUX-ARM | ports/core-arm | Bug Report | Low | libgmp: failed to compile due to bad triplet variable | Closed | |
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 [...]
|
|
75 | CRUX-ARM | general | Bug Report | Low | libcgi string.c compile issue | Closed | |
Task Description
Looks like there is a compile bug that’s been open since 2005 for arm platforms: http://sourceforge.net/p/libcgi/bugs/6/
Patching the string.c file and compiling fixes the package. We might want to fix it since upstream is unresponsive.
|
|
51 | CRUX-ARM | crossrootfs | Bug Report | Medium | libarchive: fails trying to link with host's libs | Closed | |
Task Description
... arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./libarchive -I./libarchive_fe -DLIBARCHIVE_STATIC -Wall -Wformat -Wformat-security -O2 -pipe -mfloat-abi=hard -MT cpio/bsdcpio-cmdline.o -MD -MP -MF cpio/.deps/bsdcpio-cmdline.Tpo -c -o cpio/bsdcpio-cmdline.o `test -f 'cpio/cmdline.c' || echo './'`cpio/cmdline.c mv -f cpio/.deps/bsdcpio-cmdline.Tpo cpio/.deps/bsdcpio-cmdline.Po arm-crux-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./libarchive -I./libarchive_fe -DLIBARCHIVE_STATIC -Wall -Wformat -Wformat-security -O2 -pipe -mfloat-abi=hard -MT cpio/bsdcpio-cpio.o -MD -MP -MF cpio/.deps/bsdcpio-cpio.Tpo -c -o cpio/bsdcpio-cpio.o `test -f 'cpio/cpio.c' || echo './'`cpio/cpio.c mv -f tar/.deps/bsdtar-write.Tpo tar/.deps/bsdtar-write.Po /bin/sh ./libtool –tag=CC –mode=link arm-crux-linux-gnueabihf-gcc -Wall -Wformat -Wformat-security -O2 -pipe -mfloat-abi=hard -no-undefined -version-info 12:4:0 -o libarchive.la -rpath /usr/lib libarchive/archive_acl.lo libarchive/archive_check_magic.lo libarchive/archive_crypto.lo libarchive/archive_entry.lo libarchive/archive_entry_copy_stat.lo libarchive/archive_entry_link_resolver.lo libarchive/archive_entry_sparse.lo libarchive/archive_entry_stat.lo libarchive/archive_entry_strmode.lo libarchive/archive_entry_xattr.lo libarchive/archive_getdate.lo libarchive/archive_match.lo libarchive/archive_options.lo libarchive/archive_pathmatch.lo libarchive/archive_ppmd7.lo libarchive/archive_rb.lo libarchive/archive_read.lo libarchive/archive_read_data_into_fd.lo libarchive/archive_read_disk_entry_from_file.lo libarchive/archive_read_disk_posix.lo libarchive/archive_read_disk_set_standard_lookup.lo libarchive/archive_read_extract.lo libarchive/archive_read_open_fd.lo libarchive/archive_read_open_file.lo libarchive/archive_read_open_filename.lo libarchive/archive_read_open_memory.lo libarchive/archive_read_set_options.lo libarchive/archive_read_support_filter_all.lo libarchive/archive_read_support_filter_bzip2.lo libarchive/archive_read_support_filter_compress.lo libarchive/archive_read_support_filter_gzip.lo libarchive/archive_read_support_filter_none.lo libarchive/archive_read_support_filter_program.lo libarchive/archive_read_support_filter_rpm.lo libarchive/archive_read_support_filter_uu.lo libarchive/archive_read_support_filter_xz.lo libarchive/archive_read_support_format_7zip.lo libarchive/archive_read_support_format_all.lo libarchive/archive_read_support_format_ar.lo libarchive/archive_read_support_format_by_code.lo libarchive/archive_read_support_format_cab.lo libarchive/archive_read_support_format_cpio.lo libarchive/archive_read_support_format_empty.lo libarchive/archive_read_support_format_iso9660.lo libarchive/archive_read_support_format_lha.lo libarchive/archive_read_support_format_mtree.lo libarchive/archive_read_support_format_rar.lo libarchive/archive_read_support_format_raw.lo libarchive/archive_read_support_format_tar.lo libarchive/archive_read_support_format_xar.lo libarchive/archive_read_support_format_zip.lo libarchive/archive_string.lo libarchive/archive_string_sprintf.lo libarchive/archive_util.lo libarchive/archive_virtual.lo libarchive/archive_write.lo libarchive/archive_write_disk_posix.lo libarchive/archive_write_disk_set_standard_lookup.lo libarchive/archive_write_open_fd.lo libarchive/archive_write_open_file.lo libarchive/archive_write_open_filename.lo libarchive/archive_write_open_memory.lo libarchive/archive_write_add_filter.lo libarchive/archive_write_add_filter_bzip2.lo libarchive/archive_write_add_filter_compress.lo libarchive/archive_write_add_filter_gzip.lo libarchive/archive_write_add_filter_none.lo libarchive/archive_write_add_filter_program.lo libarchive/archive_write_add_filter_xz.lo libarchive/archive_write_set_format.lo libarchive/archive_write_set_format_7zip.lo libarchive/archive_write_set_format_ar.lo libarchive/archive_write_set_format_by_name.lo libarchive/archive_write_set_format_cpio.lo libarchive/archive_write_set_format_cpio_newc.lo libarchive/archive_write_set_format_iso9660.lo libarchive/archive_write_set_format_mtree.lo libarchive/archive_write_set_format_pax.lo libarchive/archive_write_set_format_shar.lo libarchive/archive_write_set_format_ustar.lo libarchive/archive_write_set_format_gnutar.lo libarchive/archive_write_set_format_xar.lo libarchive/archive_write_set_format_zip.lo libarchive/archive_write_set_options.lo libarchive/filter_fork.lo -lacl -llzma -lbz2 -lz libtool: link: arm-crux-linux-gnueabihf-gcc -shared -fPIC -DPIC libarchive/.libs/archive_acl.o libarchive/.libs/archive_check_magic.o libarchive/.libs/archive_crypto.o libarchive/.libs/archive_entry.o libarchive/.libs/archive_entry_copy_stat.o libarchive/.libs/archive_entry_link_resolver.o libarchive/.libs/archive_entry_sparse.o libarchive/.libs/archive_entry_stat.o libarchive/.libs/archive_entry_strmode.o libarchive/.libs/archive_entry_xattr.o libarchive/.libs/archive_getdate.o libarchive/.libs/archive_match.o libarchive/.libs/archive_options.o libarchive/.libs/archive_pathmatch.o libarchive/.libs/archive_ppmd7.o libarchive/.libs/archive_rb.o libarchive/.libs/archive_read.o libarchive/.libs/archive_read_data_into_fd.o libarchive/.libs/archive_read_disk_entry_from_file.o libarchive/.libs/archive_read_disk_posix.o libarchive/.libs/archive_read_disk_set_standard_lookup.o libarchive/.libs/archive_read_extract.o libarchive/.libs/archive_read_open_fd.o libarchive/.libs/archive_read_open_file.o libarchive/.libs/archive_read_open_filename.o libarchive/.libs/archive_read_open_memory.o libarchive/.libs/archive_read_set_options.o libarchive/.libs/archive_read_support_filter_all.o libarchive/.libs/archive_read_support_filter_bzip2.o libarchive/.libs/archive_read_support_filter_compress.o libarchive/.libs/archive_read_support_filter_gzip.o libarchive/.libs/archive_read_support_filter_none.o libarchive/.libs/archive_read_support_filter_program.o libarchive/.libs/archive_read_support_filter_rpm.o libarchive/.libs/archive_read_support_filter_uu.o libarchive/.libs/archive_read_support_filter_xz.o libarchive/.libs/archive_read_support_format_7zip.o libarchive/.libs/archive_read_support_format_all.o libarchive/.libs/archive_read_support_format_ar.o libarchive/.libs/archive_read_support_format_by_code.o libarchive/.libs/archive_read_support_format_cab.o libarchive/.libs/archive_read_support_format_cpio.o libarchive/.libs/archive_read_support_format_empty.o libarchive/.libs/archive_read_support_format_iso9660.o libarchive/.libs/archive_read_support_format_lha.o libarchive/.libs/archive_read_support_format_mtree.o libarchive/.libs/archive_read_support_format_rar.o libarchive/.libs/archive_read_support_format_raw.o libarchive/.libs/archive_read_support_format_tar.o libarchive/.libs/archive_read_support_format_xar.o libarchive/.libs/archive_read_support_format_zip.o libarchive/.libs/archive_string.o libarchive/.libs/archive_string_sprintf.o libarchive/.libs/archive_util.o libarchive/.libs/archive_virtual.o libarchive/.libs/archive_write.o libarchive/.libs/archive_write_disk_posix.o libarchive/.libs/archive_write_disk_set_standard_lookup.o libarchive/.libs/archive_write_open_fd.o libarchive/.libs/archive_write_open_file.o libarchive/.libs/archive_write_open_filename.o libarchive/.libs/archive_write_open_memory.o libarchive/.libs/archive_write_add_filter.o libarchive/.libs/archive_write_add_filter_bzip2.o libarchive/.libs/archive_write_add_filter_compress.o libarchive/.libs/archive_write_add_filter_gzip.o libarchive/.libs/archive_write_add_filter_none.o libarchive/.libs/archive_write_add_filter_program.o libarchive/.libs/archive_write_add_filter_xz.o libarchive/.libs/archive_write_set_format.o libarchive/.libs/archive_write_set_format_7zip.o libarchive/.libs/archive_write_set_format_ar.o libarchive/.libs/archive_write_set_format_by_name.o libarchive/.libs/archive_write_set_format_cpio.o libarchive/.libs/archive_write_set_format_cpio_newc.o libarchive/.libs/archive_write_set_format_iso9660.o libarchive/.libs/archive_write_set_format_mtree.o libarchive/.libs/archive_write_set_format_pax.o libarchive/.libs/archive_write_set_format_shar.o libarchive/.libs/archive_write_set_format_ustar.o libarchive/.libs/archive_write_set_format_gnutar.o libarchive/.libs/archive_write_set_format_xar.o libarchive/.libs/archive_write_set_format_zip.o libarchive/.libs/archive_write_set_options.o libarchive/.libs/filter_fork.o -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib -Wl,-rpath -Wl,/des/crux-arm/3.0/toolchain/clfs/usr/lib /des/crux-arm/3.0/toolchain/clfs/usr/lib/libacl.so -L/usr/lib /usr/lib/libattr.so /des/crux-arm/3.0/toolchain/clfs/usr/lib/liblzma.so -lbz2 -lz -O2 -mfloat-abi=hard -pthread -Wl,-soname -Wl,libarchive.so.12 -o .libs/libarchive.so.12.0.4 /usr/lib/libattr.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make[1]: * [libarchive.la] Error 1 make[1]: * Waiting for unfinished jobs....
|
|
14 | CRUX-ARM | toolchain | Bug Report | Low | Lack of gcc preprocessor symbols | Closed | |
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.
|