This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Re: cp: cannot stat `misc/syscall-list.h': No such file or directory


FWIW, I've now hit this as well.

Yann--perhaps the answer is to just look for the different
possibilities in an if statement?  I wrote up a patch which implements
this, but then hit a problem cp'ing '*.pdf' later in the glibc
build... have you seen that issue as well?  For now I'm just falling
back to an older libc.

        -dp

On Sat, Feb 16, 2013 at 3:56 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Jérôme, Rafael, All,
>
> On Friday 15 February 2013 Jérôme BARDON wrote:
>> Ok, fixes the problem for me. Here is a patch.
>>
>> I don't know if you prefer the patch in the mail body or as attachment ?
>
> Use 'hg email', it will send a proper patch.
>
>> ====================================================================
>> # HG changeset patch
>> # User Jerome BARDON <bardon.pro@gmail.com>
>> # Date 1360921600 -3600
>> # Node ID fb662f18d002da9303aba2ea933c5204b789e752
>> # Parent  20f2459b97bf5eb89e2f125e0aede9541e7fc049
>> fix syscall-list.h in system headers
>
> See my previous answer to your other patch for how to format a commit message.
> Also, see (in the source tree):
>     docs/7 - Contributing to crosstool-NG.txt
>
>> diff -r 20f2459b97bf -r fb662f18d002 scripts/build/libc/glibc-eglibc.sh-common
>> --- a/scripts/build/libc/glibc-eglibc.sh-common Mon Jan 28 21:53:18 2013 +0100
>> +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Feb 15 10:46:40 2013 +0100
>> @@ -404,7 +404,7 @@
>>              # but it breaks arm, see
>> http://sourceware.org/ml/crossgcc/2006-01/msg00091.html
>>              case "${CT_ARCH}" in
>>                  arm)    ;;
>> -                *)  CT_DoExecLog ALL cp -v "misc/syscall-list.h"            \
>> +                *)  CT_DoExecLog ALL cp -v "misc/bits/syscall.h"            \
>>                                             "${CT_HEADERS_DIR}/bits/syscall.h"
>
> OK, I've hit that too, now. It happens with newer versions of glibc,
> but not on older versions.
>
> The fix is incorrect, because it breaks older versions (eg. glibc 2.9).
>
> I'm not sure how to properly fix it... :-(
> I'll work on this later in the WE.
>
> Thanks for the report and the reminder to update my samples! ;-)
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>



-- 
Daniel.Price@gmail.com; Twitter: @danielbprice

On Sat, Feb 16, 2013 at 3:56 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Jérôme, Rafael, All,
>
> On Friday 15 February 2013 Jérôme BARDON wrote:
>> Ok, fixes the problem for me. Here is a patch.
>>
>> I don't know if you prefer the patch in the mail body or as attachment ?
>
> Use 'hg email', it will send a proper patch.
>
>> ====================================================================
>> # HG changeset patch
>> # User Jerome BARDON <bardon.pro@gmail.com>
>> # Date 1360921600 -3600
>> # Node ID fb662f18d002da9303aba2ea933c5204b789e752
>> # Parent  20f2459b97bf5eb89e2f125e0aede9541e7fc049
>> fix syscall-list.h in system headers
>
> See my previous answer to your other patch for how to format a commit message.
> Also, see (in the source tree):
>     docs/7 - Contributing to crosstool-NG.txt
>
>> diff -r 20f2459b97bf -r fb662f18d002 scripts/build/libc/glibc-eglibc.sh-common
>> --- a/scripts/build/libc/glibc-eglibc.sh-common Mon Jan 28 21:53:18 2013 +0100
>> +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Feb 15 10:46:40 2013 +0100
>> @@ -404,7 +404,7 @@
>>              # but it breaks arm, see
>> http://sourceware.org/ml/crossgcc/2006-01/msg00091.html
>>              case "${CT_ARCH}" in
>>                  arm)    ;;
>> -                *)  CT_DoExecLog ALL cp -v "misc/syscall-list.h"            \
>> +                *)  CT_DoExecLog ALL cp -v "misc/bits/syscall.h"            \
>>                                             "${CT_HEADERS_DIR}/bits/syscall.h"
>
> OK, I've hit that too, now. It happens with newer versions of glibc,
> but not on older versions.
>
> The fix is incorrect, because it breaks older versions (eg. glibc 2.9).
>
> I'm not sure how to properly fix it... :-(
> I'll work on this later in the WE.
>
> Thanks for the report and the reminder to update my samples! ;-)
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>



--
Daniel.Price@gmail.com; Twitter: @danielbprice

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]