public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Suggestion] unicore32: About toolchain issues and source code.
@ 2014-04-30  1:14 Chen Gang
  2014-04-30 18:48 ` Guenter Roeck
  0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2014-04-30  1:14 UTC (permalink / raw)
  To: Guan Xuetao, linux-kernel@vger.kernel.org

Hello Maintainers:

Excuse me, I did not find our unicore32 toolchains source code (I got
binary to cross-compile Linux kernel), could you provide more related
information for it, thanks.

And I find 2 unicore32 toolchains issues, please help check.

 - Gas issue:

      AS      firmware/keyspan/usa18x.fw.gen.o
    firmware/keyspan/usa18x.fw.gen.S: Assembler messages:
    firmware/keyspan/usa18x.fw.gen.S:11: Error: junk at end of line, first unrecognized character is `,'
    make[1]: *** [firmware/keyspan/usa18x.fw.gen.o] Error 1
    make: *** [firmware] Error 2
    
    it is about statement ".section .builtin_fw,"a",@progbits".
    
     - The statement is correct and standard.
    
     - Use "aM" instead of "a", can pass compiling, but shouldn't do it.
    
     - Remove "@progbits", can pass compiling, but shouldn't do it.
  
  - Compiler issue:
 
      CC [M]  drivers/media/dvb-frontends/tda10048.o
    drivers/media/dvb-frontends/tda10048.c: In function ‘tda10048_set_wref’:
    drivers/media/dvb-frontends/tda10048.c:367: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1278
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://gcc.gnu.org/bugs.html> for instructions.
    make[3]: *** [drivers/media/dvb-frontends/tda10048.o] Error 1
    make[2]: *** [drivers/media/dvb-frontends] Error 2
    make[1]: *** [drivers/media] Error 2
    make: *** [drivers] Error 2

  - Toolchain information:

    root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-gcc -v
    Using built-in specs.
    Target: unicore32-linux
    Configured with: /home/ghb/trunk/gcc-4.4.2/configure --target=unicore32-linux --prefix=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4 --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch --with-headers=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4/unicore32-linux/include --with-pkgversion=UC4_1.0-beta_20100415
    Thread model: posix
    gcc version 4.4.2 (UC4_1.0-beta_20100415) 
    root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-as -v
    GNU assembler version 2.19.1 (unicore32-linux) using BFD version (GNU Binutils) 2.19.1


Next, I shall continue for unicore32 allmodconfig (hope I can finish
within 2014-05-31). And we may find other toolchain issues during cross
compiling (I shall report and try to solve them, after get source code).


Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Suggestion] unicore32: About toolchain issues and source code.
  2014-04-30  1:14 [Suggestion] unicore32: About toolchain issues and source code Chen Gang
@ 2014-04-30 18:48 ` Guenter Roeck
  2014-05-01  4:05   ` Chen Gang
  2014-05-01 12:31   ` GUAN, Xuetao
  0 siblings, 2 replies; 6+ messages in thread
From: Guenter Roeck @ 2014-04-30 18:48 UTC (permalink / raw)
  To: Chen Gang; +Cc: Guan Xuetao, linux-kernel@vger.kernel.org

On Wed, Apr 30, 2014 at 09:14:42AM +0800, Chen Gang wrote:
> Hello Maintainers:
> 
>   - Toolchain information:
> 
>     root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-gcc -v
>     Using built-in specs.
>     Target: unicore32-linux
>     Configured with: /home/ghb/trunk/gcc-4.4.2/configure --target=unicore32-linux --prefix=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4 --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch --with-headers=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4/unicore32-linux/include --with-pkgversion=UC4_1.0-beta_20100415
>     Thread model: posix
>     gcc version 4.4.2 (UC4_1.0-beta_20100415) 

That is an old version of the toolchain. Latest version I can find is 1.0.5.
Google for "unicore32 toolchain" or pick it up from
	http://mprc.pku.edu.cn/~guanxuetao/linux/uc4-1.0.5-hard.tgz

Having said that, I don't find a single kernel version (3.2 and later)
which builds unicore32:defconfig. Wonder if that architecture is still
supported (or if there is some secret to get it compiled.

Build results are at http://server.roeck-us.net:8010/builders.

Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Suggestion] unicore32: About toolchain issues and source code.
  2014-04-30 18:48 ` Guenter Roeck
@ 2014-05-01  4:05   ` Chen Gang
  2014-05-07  9:45     ` 管雪涛
  2014-05-01 12:31   ` GUAN, Xuetao
  1 sibling, 1 reply; 6+ messages in thread
From: Chen Gang @ 2014-05-01  4:05 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Guan Xuetao, linux-kernel@vger.kernel.org

On 05/01/2014 02:48 AM, Guenter Roeck wrote:
> On Wed, Apr 30, 2014 at 09:14:42AM +0800, Chen Gang wrote:
>> Hello Maintainers:
>>
>>   - Toolchain information:
>>
>>     root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-gcc -v
>>     Using built-in specs.
>>     Target: unicore32-linux
>>     Configured with: /home/ghb/trunk/gcc-4.4.2/configure --target=unicore32-linux --prefix=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4 --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch --with-headers=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4/unicore32-linux/include --with-pkgversion=UC4_1.0-beta_20100415
>>     Thread model: posix
>>     gcc version 4.4.2 (UC4_1.0-beta_20100415) 
> 
> That is an old version of the toolchain. Latest version I can find is 1.0.5.
> Google for "unicore32 toolchain" or pick it up from
> 	http://mprc.pku.edu.cn/~guanxuetao/linux/uc4-1.0.5-hard.tgz
> 
> Having said that, I don't find a single kernel version (3.2 and later)
> which builds unicore32:defconfig. Wonder if that architecture is still
> supported (or if there is some secret to get it compiled.
> 
> Build results are at http://server.roeck-us.net:8010/builders.
> 
> Guenter
> 

Thank you very much!

I will try it.

Thanks.
-- 
Chen Gang

Open, share and attitude like air, water and life which God blessed

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Suggestion] unicore32: About toolchain issues and source code.
  2014-04-30 18:48 ` Guenter Roeck
  2014-05-01  4:05   ` Chen Gang
@ 2014-05-01 12:31   ` GUAN, Xuetao
  1 sibling, 0 replies; 6+ messages in thread
From: GUAN, Xuetao @ 2014-05-01 12:31 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Chen Gang, Guan Xuetao, linux-kernel@vger.kernel.org

Yes, please use 1.0.5 version.
I'll check and fix these problems in this month.

Thanks Chen & Guenter.

Sent from my iPhone

> On May 1, 2014, at 2:48 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> 
>> On Wed, Apr 30, 2014 at 09:14:42AM +0800, Chen Gang wrote:
>> Hello Maintainers:
>> 
>>  - Toolchain information:
>> 
>>    root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-gcc -v
>>    Using built-in specs.
>>    Target: unicore32-linux
>>    Configured with: /home/ghb/trunk/gcc-4.4.2/configure --target=unicore32-linux --prefix=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4 --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch --with-headers=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4/unicore32-linux/include --with-pkgversion=UC4_1.0-beta_20100415
>>    Thread model: posix
>>    gcc version 4.4.2 (UC4_1.0-beta_20100415)
> 
> That is an old version of the toolchain. Latest version I can find is 1.0.5.
> Google for "unicore32 toolchain" or pick it up from
>    http://mprc.pku.edu.cn/~guanxuetao/linux/uc4-1.0.5-hard.tgz
> 
> Having said that, I don't find a single kernel version (3.2 and later)
> which builds unicore32:defconfig. Wonder if that architecture is still
> supported (or if there is some secret to get it compiled.
> 
> Build results are at http://server.roeck-us.net:8010/builders.
> 
> Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Suggestion] unicore32: About toolchain issues and source code.
  2014-05-01  4:05   ` Chen Gang
@ 2014-05-07  9:45     ` 管雪涛
  2014-05-08  1:05       ` Chen Gang
  0 siblings, 1 reply; 6+ messages in thread
From: 管雪涛 @ 2014-05-07  9:45 UTC (permalink / raw)
  To: Chen Gang; +Cc: Guan Xuetao, linux-kernel, Guenter Roeck, Greg Kroah-Hartman

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

> On 05/01/2014 02:48 AM, Guenter Roeck wrote:

> > Build results are at http://server.roeck-us.net:8010/builders.
> > 

I'll fix it in this month.

Also, Cc greg

Thanks.

Xuetao Guan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Suggestion] unicore32: About toolchain issues and source code.
  2014-05-07  9:45     ` 管雪涛
@ 2014-05-08  1:05       ` Chen Gang
  0 siblings, 0 replies; 6+ messages in thread
From: Chen Gang @ 2014-05-08  1:05 UTC (permalink / raw)
  To: 管雪涛
  Cc: Guan Xuetao, linux-kernel, Guenter Roeck, Greg Kroah-Hartman


On 05/07/2014 05:45 PM, 管雪涛 wrote:
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
>> On 05/01/2014 02:48 AM, Guenter Roeck wrote:
> 
>>> Build results are at http://server.roeck-us.net:8010/builders.
>>>
> 
> I'll fix it in this month.
> 
> Also, Cc greg
> 

Thank you for your work, it will be great if can finish within this
month (especially you are busy, too).


Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-08  1:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30  1:14 [Suggestion] unicore32: About toolchain issues and source code Chen Gang
2014-04-30 18:48 ` Guenter Roeck
2014-05-01  4:05   ` Chen Gang
2014-05-07  9:45     ` 管雪涛
2014-05-08  1:05       ` Chen Gang
2014-05-01 12:31   ` GUAN, Xuetao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox