- Posts: 71
[Call For Testing] Test GCC 8.2 & new libopencm3
- gdenton
- Offline
Less
More
14 Mar 2019 22:52 #73363
by gdenton
Would you please explain how to do that?
Replied by gdenton on topic [Call For Testing] Test GCC 8.2 & new libopencm3
daniel.snowsurf wrote: I got it built with GCC, without docker, using the same files that yesterday were giving errors. Thanks for the support, and for developping deviation.
Would you please explain how to do that?
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
Less
More
- Posts: 23
31 Mar 2019 08:14 #73632
by daniel.snowsurf
Replied by daniel.snowsurf on topic [Call For Testing] Test GCC 8.2 & new libopencm3
gdenton could you be more precisse, where is your bottleneck. Your question is too wide.
For guidelines, follow the Wiki for building deviation, on Ubuntu (linux) use the legacy build link.
For guidelines, follow the Wiki for building deviation, on Ubuntu (linux) use the legacy build link.
Please Log in or Create an account to join the conversation.
- gdenton
- Offline
Less
More
- Posts: 71
05 Apr 2019 22:44 - 05 Apr 2019 23:52 #73708
by gdenton
Replied by gdenton on topic [Call For Testing] Test GCC 8.2 & new libopencm3
Thanks for the reply daniel.
On a Windows 10 pc, I updated the compiler, libopencm3 and all deviationtx files, I am able to build devo6 and devo10 files fine.
But when I try to build devo7e I get the following error:
EDIT:
I found several references to this same type of error on other sites, they think it's a bug with the 8.x compiler on Windows related to "-flto" link-time optimization.
I disabled this in "deviation\src\target\tx\devo\common\Makefile.inc" by commenting out lines 65-68,70 and the devo7e build then succeeded.
Any input would be greatly appreciated.
On a Windows 10 pc, I updated the compiler, libopencm3 and all deviationtx files, I am able to build devo6 and devo10 files fine.
But when I try to build devo7e I get the following error:
+ Compiling 'pages/128x64x1/advanced/mixer_setup.c'
+ Building 'devo7e.elf'
c:/mingw/stm32/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Owner\AppData\Local\Temp\ccICx6q0debugobjtem: file not recognized: file truncated
collect2.exe: error: ld returned 1 exit status
lto-wrapper.exe: fatal error: C:\MinGW\stm32\bin\arm-none-eabi-gcc.exe returned 1 exit status
compilation terminated.
c:/mingw/stm32/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make: *** [devo7e.elf] Error 1
EDIT:
I found several references to this same type of error on other sites, they think it's a bug with the 8.x compiler on Windows related to "-flto" link-time optimization.
I disabled this in "deviation\src\target\tx\devo\common\Makefile.inc" by commenting out lines 65-68,70 and the devo7e build then succeeded.
Any input would be greatly appreciated.
Last edit: 05 Apr 2019 23:52 by gdenton.
Please Log in or Create an account to join the conversation.
- gdenton
- Offline
Less
More
- Posts: 71
09 Apr 2019 01:41 #73742
by gdenton
Replied by gdenton on topic [Call For Testing] Test GCC 8.2 & new libopencm3
I gave up on the Windows compiler bug I described in the previous post.
I bit the bullet and installed Ubuntu, new compiler,etc...
I got the build going, I don't see the error when building for the devo7e anymore but I do see the following error on the 3 tx's I've tried:
Is this anything to worry about?
Is anyone seeing this same error?
I bit the bullet and installed Ubuntu, new compiler,etc...
I got the build going, I don't see the error when building for the devo7e anymore but I do see the following error on the 3 tx's I've tried:
+ Copying template files for devo10
+ Checking string list length for devo10
ERROR:root:Found unparsable diff in src/libopencm3: @@ -1 +1 @@
adding: devo10.elf (deflated 66%)
then finishes the build
Is this anything to worry about?
Is anyone seeing this same error?
Please Log in or Create an account to join the conversation.
Time to create page: 0.039 seconds
- Home
- Forum
- Development
- Builds
- [Call For Testing] Test GCC 8.2 & new libopencm3