Comments (5)
Same problems as Odroid xu4 optimization release (bug (#6)):
First one when syncing overlayed ports for cubieboard2-arm repository.
Fixed creating a new branch for 3.7 development.
Second one building glibc. Assemble errors with customized CFLAGS (bug (#9)):
export CFLAGS="-O2 -pipe -mfloat-abi=hard -march=armv7ve -mcpu=cortex-a7 -mfpu=neon-vfpv4"
gcc ../sysdeps/arm/armv6t2/ffs.S -c -I../include -I/nfs/cb2/work/glibc/src/build/string -I/nfs/cb2/work/glibc/src/build -I../sysdeps/unix/sysv/linux/arm/le -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/arm/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/le/armv7/multiarch -I../sysdeps/arm/armv7/multiarch -I../sysdeps/arm/le/armv7 -I../sysdeps/arm/armv7 -I../sysdeps/arm/armv6t2 -I../sysdeps/arm/armv6 -I../sysdeps/arm/le -I../sysdeps/arm/include -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/arm-unknown-linux-gnueabihf/8.4.0/include -isystem /nfs/cb2/work/glibc/pkg/usr/include -D_LIBC_REENTRANT -include /nfs/cb2/work/glibc/src/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -DASSEMBLER -Werror=undef -Wa,--noexecstack -o /nfs/cb2/work/glibc/src/build/string/ffs.o -MD -MP -MF /nfs/cb2/work/glibc/src/build/string/ffs.o.dt -MT /nfs/cb2/work/glibc/src/build/string/ffs.o ../sysdeps/arm/armv6t2/ffs.S: Assembler messages:
../sysdeps/arm/armv6t2/ffs.S:26: Error: selected processor does not support `rbit r0,r0' in ARM mode make[2]: *** [/nfs/cb2/work/glibc/src/build/sysd-rules:551: /nfs/cb2/work/glibc/src/build/string/ffs.o] Error 1
Currently tested CFLAGS obtained using arminfo.sh script:
$ sh arminfo.sh
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
HOSTNAME cb2-cross
MODEL ARMv7 Processor rev 4 (v7l)
FEATURES swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
MACHTYPE
CFLAGS -march=armv7ve -mabi=aapcs-linux -mfloat-abi=hard -mtune=cortex-a7
MAKEFLAGS -j2
export CFLAGS="-O2 -pipe -march=armv7ve -mabi=aapcs-linux -mfloat-abi=hard -mtune=cortex-a7"
from crux-arm-release.
Build breaks:
+ /mnt/home/pkgmk/work/glibc/src/glibc-2.36/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --with-headers=/mnt/home/pkgmk/work/glibc/pkg/usr/include --enable-kernel=3.2 --enable-addons --enable-stack-protector=strong --enable-bind-now --disable-profile --disable-werror --without-gd --disable-multi-arch
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for gcc... gcc
checking for suffix of object files... configure: error: in `/mnt/home/pkgmk/work/glibc/src/build':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
=======> ERROR: Building '/mnt/home/pkgmk/pkg/glibc#2.36-3.pkg.tar.xz' failed.
Config log:
configure:2643: $? = 1
configure:2648: checking for suffix of object files
configure:2670: gcc -c -O2 -pipe -march=armv7ve -mabi=aapcs-linux -mfloat-abi=hard -mtune=cortex-a7 conftest.c >&5
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
```
from crux-arm-release.
Testing CFLAGS:
export CFLAGS="-O2 -pipe -mfloat-abi=hard -march=armv7ve -mabi=aapcs-linux -mfpu=neon-vfpv4 -mtune=cortex-a7"
Fails too:
gcc ../sysdeps/arm/armv6t2/ffs.S -c -I../include -I/mnt/home/pkgmk/work/glibc/src/build/string -I/mnt/home/pkgmk/work/glibc/src/build -I../sysdeps/unix/sysv/linux/arm/le -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/arm/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/le/armv7 -I../sysdeps/arm/armv7 -I../sysdeps/arm/armv6t2 -I../sysdeps/arm/armv6 -I../sysdeps/arm/le -I../sysdeps/arm/include -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/arm-unknown-linux-gnueabihf/8.4.0/include -isystem /mnt/home/pkgmk/work/glibc/pkg/usr/include -D_LIBC_REENTRANT -include /mnt/home/pkgmk/work/glibc/src/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -DASSEMBLER -Werror=undef -Wa,--noexecstack -o /mnt/home/pkgmk/work/glibc/src/build/string/ffs.o -MD -MP -MF /mnt/home/pkgmk/work/glibc/src/build/string/ffs.o.dt -MT /mnt/home/pkgmk/work/glibc/src/build/string/ffs.o
../sysdeps/arm/armv6t2/ffs.S: Assembler messages:
../sysdeps/arm/armv6t2/ffs.S:26: Error: selected processor does not support `rbit r0,r0' in ARM mode
make[2]: *** [/mnt/home/pkgmk/work/glibc/src/build/sysd-rules:483: /mnt/home/pkgmk/work/glibc/src/build/string/ffs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/mnt/home/pkgmk/work/glibc/src/glibc-2.36/string'
make[1]: *** [Makefile:484: string/subdir_lib] Error 2
make[1]: Leaving directory '/mnt/home/pkgmk/work/glibc/src/glibc-2.36'
make: *** [Makefile:9: all] Error 2
=======> ERROR: Building '/mnt/home/pkgmk/pkg/glibc#2.36-3.pkg.tar.xz' failed.
from crux-arm-release.
glib is built adding a export ASFLAGS="$CFLAGS"
from crux-arm-release.
Related Issues (20)
- Release build not setting pkgmk.conf and prt-get.conf file properly HOT 4
- Release 3.7 samsung-chromebook HOT 2
- Release 3.7 pine64 HOT 2
- Release 3.7
- Release 3.7 aarch64 HOT 1
- Getting a build error for a missing rootfs target in stage1 HOT 2
- Stage1 rootfs contains files in /var/lib/pkg/rejected
- Error using curl inside stage1 HOT 1
- binutils: not updated HOT 1
- Binutils: not specified --build option in aarch64 HOT 1
- libgmp: not specified --build version HOT 1
- Stage1 gcc build break HOT 1
- Make calls without specifying DEVICE_OPTIMIZATIONS break the build. HOT 17
- stage1: pkgutils build problem after updating libarchive to 3.6.2 HOT 1
- Restore prt-get.conf information after exiting chroot on stage1 HOT 5
- nftables footprint missmatch HOT 1
- make stage1 failed on optimizations when using generic to build them HOT 9
- Release 3.7 odroidxu4 HOT 2
- Release 3.7 aarch64 raspberrypi3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crux-arm-release.