ivgalvez
|
2012-01-26
, 10:47
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#11
|
The Following User Says Thank You to ivgalvez For This Useful Post: | ||
|
2012-01-26
, 11:13
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#12
|
... afaik THUMB is broken on the N900's SoC, and the workaround's overhead > benefit of THUMB
The Following 3 Users Say Thank You to freemangordon For This Useful Post: | ||
|
2012-01-26
, 11:25
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#13
|
[OT]
Will you be more specific on the above, i.e. which workaround overhead aganst which benefit. I will appreciate any data on the matter.
[/OT]
|
2012-01-26
, 11:46
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#14
|
While we're on the subject, why not upgrade other open components from upstream?
The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
|
2012-01-26
, 15:09
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#16
|
The overhead for the 430973 bug against Thumb's purported reduced code size.
The Following 6 Users Say Thank You to freemangordon For This Useful Post: | ||
|
2012-01-26
, 19:20
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#17
|
The Following 3 Users Say Thank You to szopin For This Useful Post: | ||
|
2012-02-08
, 08:58
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#18
|
/* If the output has no requirement about FP hardware, follow the requirement of the input. */ if (out_attr[i].i == 0) { 11467 BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0); out_attr[i].i = in_attr[i].i; out_attr[Tag_ABI_HardFP_use].i = in_attr[Tag_ABI_HardFP_use].i; break; }
test.o: In function `gnu_dev_major': //usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
1.22. `make' fails when running rpcgen the first time, what is going on? How do I fix this?
{CO} The first invocation of rpcgen is also the first use of the recently compiled dynamic loader. If there is any problem with the dynamic loader it will more than likely fail to run rpcgen properly. This could be due to any number of problems.
The only real solution is to debug the loader and determine the problem yourself. Please remember that for each architecture there may be various patches required to get glibc HEAD into a runnable state. The best course of action is to determine if you have all the required patches.
The Following 8 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
|
2012-02-10
, 09:54
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#19
|
The Following 3 Users Say Thank You to Android_808 For This Useful Post: | ||
|
2012-02-10
, 11:36
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#20
|
Using built-in specs. COLLECT_GCC=gcc-4.6 COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/lto-wrapper gcc-4.6 (Debian 4.6.1-9ubuntu3) 4.6.1 Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 4.6.1 (Debian 4.6.1-9ubuntu3) COLLECT_GCC_OPTIONS='--version' '-v' /usr/lib/gcc/arm-linux-gnueabi/4.6.1/cc1 -quiet -v -imultilib . -imultiarch arm-linux-gnueabi help-dummy -quiet -dumpbase help-dummy -auxbase help-dummy -version --version -o /tmp/ccl7Wdzd.s GNU C (Debian 4.6.1-9ubuntu3) version 4.6.1 (arm-linux-gnueabi) compiled by GNU C version 4.6.1, GMP version 4.3.2, MPFR version 2.4.2-p1, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS='--version' '-v' as -meabi=5 --version -o /tmp/ccc8qQgm.o /tmp/ccl7Wdzd.s GNU assembler (GNU Binutils for Debian) 2.22 This assembler was configured for a target of `arm-linux-gnueabi'. COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/ LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../://lib/://usr/lib/ COLLECT_GCC_OPTIONS='--version' '-v' /usr/lib/gcc/arm-linux-gnueabi/4.6.1/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.3 -X --hash-style=both -m armelf_linux_eabi --version /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crt1.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crti.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1 -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../.. -L//lib -L//usr/lib /tmp/ccc8qQgm.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtend.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crtn.o collect2 version 4.6.1 (ARM GNU/Linux with ELF) /usr/bin/ld --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.3 -X --hash-style=both -m armelf_linux_eabi --version /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crt1.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crti.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1 -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../.. -L//lib -L//usr/lib /tmp/ccc8qQgm.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtend.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../crtn.o GNU ld (GNU Binutils for Debian) 2.22
it helps remove traces of old gcc from build by compiling itslef with newly generated binary:
1st build: gcc 4.6 built with 4.2
2nd build: 4.6 built with 4.6 built with 4.2
3rd build 4.6 built with 4.6 built with 4.6
make sure libtool using correct paths after gcc build. it might still be hardcoded to old version of gcc.
/usr/bin/ld: test.a(test.o): undefined reference to symbol 'sinf@@GLIBC_2.4' /usr/bin/ld: note: 'sinf@@GLIBC_2.4' is defined in DSO /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../libm.so so try adding it to the linker command line /usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../libm.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status
/*gcc math_test.c -lm*/ #include <stdio.h> #include <math.h> #define PI 3.14159265 int main () { double param, result; param = 30.0; result = sinf (param*PI/180); printf ("The sine of %lf degrees is %lf.\n", param, result ); return 0; }
The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post: | ||