RE: Compile Error

2010-04-27 Thread Tivy, Robert
-z means that every following option is for the linker, and since many compiler 
options follow the expansion of usr.bld, you can't use -z in that file.  Is 
there not a link.cmd or linker.cmd file that can be used instead (and is 
consumed by the XDC tooling)?

Regards,

- Rob


From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
Mohamed AbdElwahed
Sent: Tuesday, April 27, 2010 5:38 AM
To: Davinci Mailing list
Subject: Compile Error


I use DM6446 and  i implemented my own codec and i success to compile(the CGT 
is version 6.1.12) and run it.
but when i edit the "usr.bld" file by adding this options "-z -l forder.cmd" to 
the compiler options, it fail with the below error.







# generating interfaces for package codecs.decode_slice_h264 (because 
package/package.xdc.xml is older than package.xdc) ...

/opt/xdc_3_05/xs 
-Dxdc.path="/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264/../..;/opt/codec_engine_2_10/cetools/packages;/opt/codec_engine_2_10/packages;/opt/bios_5_32_02/packages;/opt/xdc_3_05/packages;../.."
 -Dxdc.root=/opt/xdc_3_05 -Dxdc.hostOS=Linux 
-Dconfig.importPath=".;/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264/../..;/opt/codec_engine_2_10/cetools/packages;/opt/codec_engine_2_10/packages;/opt/bios_5_32_02/packages;/opt/xdc_3_05/packages;../..;/opt/xdc_3_05;/opt/xdc_3_05/etc"
 -Dxdc.bld.targets="" -DTOOLS= -f xdc/services/intern/cmd/build.xs -m 
package/package.xdc.dep -i package/package.xdc.inc package.xdc

translating DECODE_SLICE_H264

.interfaces files complete: Tue Apr 27 14:04:08 EET 2010.

 .libraries 
[/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264]
 

rm -f 
package/lib/lib/decode_slice_h264/package/package_codecs.decode_slice_h264.o64P

#

# cl64P package/package_codecs.decode_slice_h264.c ...

/opt/TI/C6000CGT6.1.13/bin/cl6x -c -mt -mo --opt_for_speed=5 -O3 
--program_level_compile --silicon_version=6446 --keep_asm --opt_for_speed=5 -z 
-l forder.cmd -mv64p -eo.o64P -ea.s64P -D__xdc_bld_pkg_c__=package.bld.c 
-Dxdc_target_name__=C64P -Dxdc_target_types__=ti/targets/std.h 
-Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_6_1_13 -o2 -I. 
-I/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264/../..
 -I/opt/codec_engine_2_10/cetools/packages -I/opt/codec_engine_2_10/packages 
-I/opt/bios_5_32_02/packages -I/opt/xdc_3_05/packages -I../.. 
-I/opt/TI/C6000CGT6.1.13/include 
-fs=./package/lib/lib/decode_slice_h264/package 
-fr=./package/lib/lib/decode_slice_h264/package -fc 
package/package_codecs.decode_slice_h264.c

>> WARNING: invalid linker option -D__xdc_bld_pkg_c__=package.bld.c (ignored)

>> WARNING: invalid linker option -Dxdc_target_name__=C64P (ignored)

>> WARNING: invalid linker option -Dxdc_target_types__=ti/targets/std.h 
>> (ignored)

>> WARNING: invalid linker option -Dxdc_bld__profile_release (ignored)

>> WARNING: invalid linker option -Dxdc_bld__vers_1_0_6_1_13 (ignored)

ERROR: argument to option -f ("value") is out of range

gmake[1]: *** 
[package/lib/lib/decode_slice_h264/package/package_codecs.decode_slice_h264.o64P]
 Error 1

gmake: *** 
[/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264,.libraries]
 Error 2

make[2]: *** [all] Error 2

make[2]: Leaving directory 
`/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs/decode_slice_h264'

make[1]: *** [all] Error 2

make[1]: Leaving directory 
`/ESDU/Wasiem/filesys/All_in_One/esdu_decode_slice_h264/codecs'

make: *** [all] Error 2




Any help is highly appreciated
Mohamed AbdElwahed Ibrahim [http://graphics.hotmail.com/i.p.emthup.gif]






> From: davinci-linux-open-source-requ...@linux.davincidsp.com
> Subject: Davinci-linux-open-source Digest, Vol 52, Issue 65
> To: davinci-linux-open-source@linux.davincidsp.com
> Date: Wed, 21 Apr 2010 07:11:32 -0500
>
> Send Davinci-linux-open-source mailing list submissions to
> davinci-linux-open-source@linux.davincidsp.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
> or, via email, send a message with subject or body 'help' to
> davinci-linux-open-source-requ...@linux.davincidsp.com
>
> You can reach the person managing the list at
> davinci-linux-open-source-ow...@linux.davincidsp.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Davinci-linux-open-source digest..."
>
>
> Today's Topics:>
> 1. Re: [PATCH 4/4] DM365: Add platform resource ma

RE: Compile Error for TI Davinci

2009-11-20 Thread Govindarajan, Sriramakrishnan


> -Original Message-
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Friday, November 20, 2009 11:20 PM
> To: Govindarajan, Sriramakrishnan
> Cc: net...@vger.kernel.org; davinci-linux-open-
> sou...@linux.davincidsp.com; Subrahmanya, Chaithrika
> Subject: Re: Compile Error for TI Davinci
> 
> From: "Govindarajan, Sriramakrishnan" 
> Date: Fri, 20 Nov 2009 17:36:38 +0530
> 
> > Patch for "TI DaVinci EMAC: Clear statistics register properly"(commit-
> 0fe7463a35aadfaf22d1ca58325ab3851b8d757c on net-next) has dependency on
> > Patch "TI DaVinci EMAC: Minor macro related updates "(commit -
> 69ef9694099802f7feeb23182dfb869e7c5f76f0 on net-next).
> >
> > The first patch has been pushed upstream while the later still remains
> on
> > Net-next. Due to the dependency between these two, we are seeing
> compilation
> > Failure when we build for Davinci.
> >
> > Can you please push "TI DaVinci EMAC: Minor macro related updates" -
> 69ef9694099802f7feeb23182dfb869e7c5f76f0 up-stream .
> 
> This should not be happening, because yesterday I merged Linus's
> tree into net-2.6 and afterwards I merged net-2.6 into net-next-2.6
> 
> Please verify that the problem still occurs.
[Sriram]  David the commit " TI DaVinci EMAC: Minor macro related updates" 
exists only on the net-next-2.6 git. As mentioned in my earlier email, 
subsequent patch " DaVinci EMAC: Clear statistics register properly" is 
dependent on this  and is reflected in the net-2.6 and Linus's GIT. Hence 
compilation for Davinci would fail on both net-2.6 and Linus's GIT

I just verified the failure by building against the tip of Linus's GIT
Regards
Sriram

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Compile Error based on Current GIT kernel.

2008-10-08 Thread Rajashekhara, Sudhakar
Jaehoon,

For this version of gcc you need to disable CONFIG_AEABI in kernel 
configuration.

Regards, Sudhakar

From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Jason Lee  
[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 3:55 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: Compile Error based on Current GIT kernel.

Hello All.
I got the git kernel today.
When I compiled the git kernel, I found following errors.

[EMAIL PROTECTED] linux-davinci-2.6]#
[EMAIL PROTECTED] linux-davinci-2.6]# make clean
[EMAIL PROTECTED] linux-davinci-2.6]# make uImage
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
#
# configuration written to .config
#
  CHK include/linux/version.h
  UPD include/linux/version.h
  Generating include/asm-arm/mach-types.h
  CHK include/linux/utsrelease.h
  UPD include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC  kernel/bounds.s
kernel/bounds.c:1: error: invalid ABI option: -mabi=aapcs-linux
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
[EMAIL PROTECTED] linux-davinci-2.6]#
[EMAIL PROTECTED] linux-davinci-2.6]# arm_v5t_le-gcc --version
arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED] linux-davinci-2.6]#

I use DM6446 DVEVM CD and related compiler.

My compiler version is below.

[EMAIL PROTECTED] linux-davinci-2.6]# arm_v5t_le-gcc --version
arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED] linux-davinci-2.6]#

Do I have to change or upgrade current arm_v5t_le-gcc version?
Is there any other compiler available such as EDLK?

Any comments will help us.

Thanks.

Jaehoon Lee.


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source