RTEMS 4.11.0 build fails on Windows

Linda Huxley lhuxley at shaw.ca
Tue Apr 11 23:24:20 UTC 2017


 > That is fine. Please ask any questions, I am more than happy to help.

Thanks Chris,

Well, I could use some help getting Worth's patch to work.  I have tried 
making the obvious changes to his patch and I'm still getting a
"can't find a file to patch" error.  For example, after inserting 
"/../gcc-4.9.3" into the difference commands in the patch file, I'm 
seeing the following message from the first difference in the patch:

+ cd newlib-2.2.0.20150423
+ chmod -R a+rX,g-w,o-w .
+ cat /C/opt/rtems/4.11.0/rtems/patches/gcc-4.9.3-20170404-1.patch
+ patch -p1
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur gcc-4.9.3-orig/../gcc-4.9.3/gcc/cp/cfns.gperf 
gcc-4.9.3-fixed/../gcc-4.9.3/gcc/cp/cfns.gperf
|--- gcc-4.9.3-orig/../gcc-4.9.3/gcc/cp/cfns.gperf	2014-01-02 
17:23:26.000000000 -0500
|+++ gcc-4.9.3-fixed/../gcc-4.9.3/gcc/cp/cfns.gperf	2017-04-04 
14:35:14.729966600 -0400
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored

I'd like to know if I'm interpreting the log correctly.

I am building from this directory:

/c/opt/rtems/4.11.0/rtems/

Can I assume that the script is in the following directory after the 
first command that was logged above?:

/c/opt/rtems/4.11.0/rtems/build/srg4n2xwm1/newlib-2.2.0.20150423

I can see the target file for the first difference here:

/c/opt/rtems/4.11.0/rtems/build/srg4n2xwm1/gcc-4.9.3/gcc/cp/cfns.gperf

Do you have any idea about what I might be doing wrong?

Thanks,

Linda


More information about the users mailing list