[Bug 642347] Re: Segmentation fault in cc1plus when compiling witty library

2010-10-01 Thread Yao Qi
** Changed in: gcc-linaro Assignee: (unassigned) = Yao Qi (yao-codesourcery) -- Segmentation fault in cc1plus when compiling witty library https://bugs.launchpad.net/bugs/642347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 647597] Re: Internal compiler error while building package 'witty'

2010-10-01 Thread Yao Qi
** Changed in: gcc-linaro Status: Confirmed = Fix Committed -- Internal compiler error while building package 'witty' https://bugs.launchpad.net/bugs/647597 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 642347] Re: Segmentation fault in cc1plus when compiling witty library

2010-10-01 Thread Yao Qi
** Branch linked: lp:~yao-codesourcery/gcc-linaro/4.4-fix-647597 ** Changed in: gcc-linaro Status: Confirmed = Fix Committed -- Segmentation fault in cc1plus when compiling witty library https://bugs.launchpad.net/bugs/642347 You received this bug notification because you are a member of

[Bug 647597] Re: Internal compiler error while building package 'witty'

2010-09-30 Thread Yao Qi
Patch is in branch lp:~yao-codesourcery/gcc-linaro/4.4-fix-647597. Proposed to merge, and being reviewed. -- Internal compiler error while building package 'witty' https://bugs.launchpad.net/bugs/647597 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 635409] Re: armel ICE gcc-4.4

2010-09-30 Thread Yao Qi
Committed to linaro gcc 4.4 branch too. -- armel ICE gcc-4.4 https://bugs.launchpad.net/bugs/635409 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 647597] Re: Internal compiler error while building package 'witty'

2010-09-29 Thread Yao Qi
I get a reduced test case for this bug. Attached here. segv fault is cause by following code snip in cp/mangle.c static tree mangle_decl_string (const tree decl) { ... input_location = DECL_SOURCE_LOCATION (decl); // input_location is ZERO ... write_mangled_name (decl, true); // Segv

[Bug 647597] Re: Internal compiler error while building package 'witty'

2010-09-27 Thread Yao Qi
** Changed in: gcc-linaro Assignee: (unassigned) = Yao Qi (yao-codesourcery) -- Internal compiler error while building package 'witty' https://bugs.launchpad.net/bugs/647597 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 635409] Re: armel ICE gcc-4.4

2010-09-24 Thread Yao Qi
** Changed in: gcc-4.5 (Ubuntu) Assignee: (unassigned) = Yao Qi (yao-codesourcery) ** Changed in: gcc-4.5 (Ubuntu) Status: Triaged = Fix Committed -- armel ICE gcc-4.4 https://bugs.launchpad.net/bugs/635409 You received this bug notification because you are a member of Ubuntu Bugs

[Bug 635409] Re: armel ICE gcc-4.4

2010-09-24 Thread Yao Qi
** Changed in: gcc-4.5 (Ubuntu) Status: Fix Committed = Confirmed ** Changed in: gcc-4.5 (Ubuntu) Assignee: Yao Qi (yao-codesourcery) = (unassigned) ** Also affects: gcc-linaro Importance: Undecided Status: New ** Changed in: gcc-linaro Status: New = Fix Committed

[Bug 636229] Re: armel build failure (armv7 specific?)

2010-09-22 Thread Yao Qi
Reduced test case to gcc is here, void coq_interprete() { register int accu asm(r7); accu = 0; } # gcc-4.5 -S /home/yao/test.c /home/yao/test.c: In function 'coq_interprete': /home/yao/test.c:6: error: r7 cannot be used in asm here No error if compiled with -fomit-frame-pointer # gcc-4.5

[Bug 635199] Re: [armel] the ./H5detect test segfaults when built for armv7

2010-09-22 Thread Yao Qi
** Changed in: gcc-4.4 (Ubuntu) Assignee: (unassigned) = Yao Qi (yao-codesourcery) -- [armel] the ./H5detect test segfaults when built for armv7 https://bugs.launchpad.net/bugs/635199 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 635199] Re: [armel] the ./H5detect test segfaults when built for armv7

2010-09-22 Thread Yao Qi
It is not a toolchain issue here. In H5detect.c:ALIGNMENT, a testing to mis-aligned access is performed, as below, *((TYPE*)(_buf+align_g[_ano])) = _val; /*possible SIGBUS or SEGSEGV*/ \ _val2 = *((TYPE*)(_buf+align_g[_ano])); /*possible SIGBUS or SEGSEGV*/ \ and SIGBUS and

[Bug 635409] Re: armel ICE gcc-4.4

2010-09-21 Thread Yao Qi
This bug was reported upstreams, and has been fixed in gcc 4.6. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44787 This bug might be introduced to linaro gcc 4.5 when we backport patches from gcc 4.6. Backport patch to in my local linaro 4.5 tree, and see ICE goes away. $

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-09-07 Thread Yao Qi
I can reproduce it on imx51, but can't reproduce it on other two boards. Both openjdk and eglibc are the same on these three boards, openjdk-6-jre-headless: 6b18-1.8-2ubuntu2 eglibc:2.12.1-0ubuntu3 Run 'java -version', and here is the result, imx51-1

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-09-06 Thread Yao Qi
Matthias, I am building latest eglibc on pavo1, which may take some hours. If you have some arm boxes at hand, and see seg fault on it, I'd like to log in to have a look. -- [armel] java fails to start with eglibc-2.12-0ubuntu4 https://bugs.launchpad.net/bugs/605042 You received this bug

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-08-31 Thread Yao Qi
Can't reproduce this problem, here are steps, 1 Remove cvs-revert-flush-cache-textrels.diff from patch/series. 2 Rebuild eglibc 3 dpkg -i libc6_2.12.1-0ubuntu1_armel.deb 4 cp /usr/lib/jvm/java-6-openjdk/jre/lib/arm/server/libjvm.so . 5 Run ./testcase, no seg fault. 6. strace -o 3.log java

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-08-31 Thread Yao Qi
https://launchpad.net/ubuntu/maverick/+source/eglibc/+changelog shows that eglibc (2.12.1-0ubuntu1) is based on eglibc svn r11211, while eglibc (2.12-0ubuntu4) is based on eglibc svn r10817. Run diff between r10817 and r11211, don't see something special may fix this bug. -- [armel] java fails

[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)

2010-07-29 Thread Yao Qi
Get ICE on maverick/x86 also. Cross compile linaro gcc *without* patches, ICE goes away. After compare 4.4.4-7ubuntu3 and linaro gcc, one difference is that -fstack-protector is put in 4.4.4-7ubuntu3 gcc's spec. Remove gcc-default-ssp.diff from rules.patch, and rebuild gcc on x86. No ICE any

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Yao Qi
Checkout firefox code from mozilla.org, configured, and built. Still segfaults. Here is a list of steps I did, 1. hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src 2. cd 192src/js/src 3. ~/autoconf-2.13-install/bin/autoconf 4. ./configure 5. make ./dist/bin/js imacro_asm.js

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Yao Qi
Configured and built firefox on pavo1 with different options, ./configure --disable-optimize --enable-debug CFLAGS=-g -ggdb -O0 -fno-strict-aliasing -Wall CXXFLAGS=$CFLAGS make MODULE_OPTIMIZE_FLAGS= INTERP_OPTIMIZER= MOZ_OPTIMIZE_FLAGS= No segfault. ./configure --enable-debug CFLAGS=-g -ggdb

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Yao Qi
./configure --enable-debug make No segfault. Attached generated imacros.c.tmp However, ./configure Add -fno-inline -fno-strict-aliasing in INTERP_OPTIMIZER, MODULE_OPTIMIZE_FLAGS, and MOZ_OPTIMIZE_FLAGS. Segfaults. ** Attachment added: imacros.c.tmp

[Bug 497295] Re: [armel] additional testsuite failures with -mthumb (compared to -marm)

2010-07-27 Thread Yao Qi
ICE is still there on gcc 4.4.4-7ubuntu1~ppa2, $ /usr/lib/gcc/arm-linux-gnueabi/4.4.4/cc1 -quiet -v limits-blockid.c -D_FORTIFY_SOURCE=2 -quiet -dumpbase limits-blockid.c -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -auxbase limits-blockid -g -O0 -w -version -fstack-protector

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-07-22 Thread Yao Qi
There is no crash on openjdk-6-jre-lib_6b20~pre1-1ubuntu1, using test case in comment #3. # cp /usr/lib/jvm/java-6-openjdk/jre/lib/arm/server/libjvm.so . # gcc pr605042.c -o pr605042 -ldl # ./pr605042 12018 My gcc is Ubuntu 4.4.4-7ubuntu1~ppa2. -- [armel] java fails to start with

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-07-22 Thread Yao Qi
I can start java normally. # java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-2ubuntu2) OpenJDK Zero VM (build 14.0-b16, mixed mode) -- [armel] java fails to start with eglibc-2.12-0ubuntu4 https://bugs.launchpad.net/bugs/605042 You received this bug

[Bug 605042] Re: [armel] java fails to start with eglibc-2.12-0ubuntu4

2010-07-22 Thread Yao Qi
I am using eglibc 2.12-0ubuntu5, so this bug is filed against 2.12-0ubuntu4. -- [armel] java fails to start with eglibc-2.12-0ubuntu4 https://bugs.launchpad.net/bugs/605042 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 604870] Re: cyrus-sasl2 fails to build from source with Linaro toolchain

2010-07-19 Thread Yao Qi
http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi reports the same error, so it isn't linaro specific bug. ** Also affects: ubuntu Importance: Undecided Status: New ** Changed in: gcc-linaro Status: New = Invalid -- cyrus-sasl2 fails to build from source with Linaro toolchain