ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Security fixes and merging changes upstream


From: address@hidden
Subject: Re: [Ltib] Security fixes and merging changes upstream
Date: Mon, 24 Oct 2011 13:31:03 -0400

On Mon, Oct 24, 2011 at 12:32 PM, Kevin Wells <address@hidden> wrote:
> Hi Stuart,
>
> You want to push that patch in? I somehow missed the custom toolchain option, 
> but the custom toolchain arguments options is there. Must have been one of 
> those days. I'll check the others to see if any more are missing that.

It is copying a relative symlink:
address@hidden:/home/apps/ltib$ ls
/usr/lib/gcc/arm-linux-gnueabi/4.6.1/libgcc_s* -l
-rw-r--r-- 1 root root 135 2011-09-29 02:56
/usr/lib/gcc/arm-linux-gnueabi/4.6.1/libgcc_s.so
lrwxrwxrwx 1 root root  47 2011-09-29 03:03
/usr/lib/gcc/arm-linux-gnueabi/4.6.1/libgcc_s.so.1 ->
../../../../arm-linux-gnueabi/lib/libgcc_s.so.1

Which doesn't work after it is copied.


I did a ./ltib -m distclean
picked ea3131, path /usr, prefix arm-linux-gnueabi-

+ cp -dp /usr/lib/gcc/arm-linux-gnueabi/4.6.1/libgcc_s.so
/usr/lib/gcc/arm-linux-gnueabi/4.6.1/libgcc_s.so.1
/home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/lib/
+ set -e
+ perl -w -e
    @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
    exit(0) unless @ARGV;
    $^I = ".bak";
    while(<>) {
        s,[\S/]+/,,g if m,^GROUP,;
        print;
    }
     /home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/lib/libc.so
/home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/lib/libpthread.so
/home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/usr/lib/libc.so
/home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/usr/lib/libpthread.so
+ cd /home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm
+ find /home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/lib
+ xargs chmod 755
chmod: cannot operate on dangling symlink
`/home/apps/ltib/tmp/base_libs//opt/freescale/rootfs/arm/lib/libgcc_s.so.1'
error: Bad exit status from /home/apps/ltib/tmp/rpm-tmp.59841 (%install)


RPM build errors:
    Bad exit status from /home/apps/ltib/tmp/rpm-tmp.59841 (%install)
Build time for base_libs: 1 seconds

Failed building base_libs





>
> Kevin
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Stuart Hughes
> Sent: Monday, October 24, 2011 1:08 AM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Ltib] Security fixes and merging changes upstream
>
> On 23/10/11 17:07, address@hidden wrote:
>> On Sun, Oct 23, 2011 at 12:01 PM, address@hidden<address@hidden>  wrote:
>>> On Sun, Oct 23, 2011 at 11:24 AM, Stuart Hughes<address@hidden>  wrote:
>>>> Hi Jon,
>>>>
>>>> This stuff is processed in config/userspace/toolchain.lkc which should
>>>> be included in the BSP's config/platform/_target_/main.lkc file.
>>>>
>>>> Maybe whoever made this platform forgot to add it into the list of
>>>> toolchains for that platform?  Which platform do you have selected?
>>> Embedded Artists board with the NXP LPC3131
>> The EA config files are not using the support in config/userspace
>>
> Not sure why they missed that in their BSP config.  If it's the one I
> think you mean, you could try adding this patch:
>
> cvs diff: Diffing config/platform/ea3131
> Index: config/platform/ea3131/main.lkc
> ===================================================================
> RCS file: /sources/ltib/ltib/config/platform/ea3131/main.lkc,v
> retrieving revision 1.4
> diff -u -r1.4 main.lkc
> --- config/platform/ea3131/main.lkc    19 Apr 2010 20:28:12 -0000    1.4
> +++ config/platform/ea3131/main.lkc    24 Oct 2011 08:06:55 -0000
> @@ -58,6 +58,10 @@
>
>      config TOOLCHAIN1
>          bool "gcc-3.4.5-glibc-2.3.6 (soft-float)" if GLIBC
> +
> +    config TOOLCHAIN_CUSTOM
> +        bool "custom"
> +
>  endchoice
>
>  config TOOLCHAIN
>
> Regards, Stuart
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
>



-- 
Jon Smirl
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]