S32 Design Studio Targeting S32G274A M Core in Windows failed with liblto_plugin-0.dll not found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 Design Studio Targeting S32G274A M Core in Windows failed with liblto_plugin-0.dll not found

Jump to solution
2,045 Views
piusng
Contributor II

With S32G274A, I tried to build my first program using S32DS in Windows.  It failed at the Linker with the error of missing liblto_plugin-0.dll which I can find in msys directory.  It is not present in the other 3 gcc directories.  I checked that the only compatible compilers are the 3 versions of gcc.  How do I work around this? 

0 Kudos
Reply
1 Solution
2,017 Views
piusng
Contributor II

Windows 10

S32DS 3.5

RTD 4.0.0

There are liblto_pluigin-0.dll in C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-*-eabi\libexec\gcc\arm-none-eabi\6.3.1 but not gcc_v9,2 and gcc_v10.2.  I tried to build the RGB_LED sample using b1620 or v10.2 but both yielded errors in compilation.  I copied the liblto_plugin-0.dll from b1620 to gcc_v9.2 and I am able to build and burn into SD card successfully.  It works on the board.  The original error is at the linker stage of gcc v9.2.

View solution in original post

0 Kudos
Reply
5 Replies
2,019 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Which version of S32DS are you using?

How did you create your project? Have you been following the "Software Enablement Guide" available under the GOLDBOX product page (link: GoldBox for Vehicle Networking Development Platform | NXP Semiconductors)?

There are also some HOWTO's available on the S32DS community, have you followed one of those to create your project?

S32DS - list of HOWTOs - NXP Community

If not, are you using a provided example on the RTD?

We have not seen the error you are mentioning, this may be a configuration problem rather than a problem with S32DS itself.

Please, let us know.

0 Kudos
Reply
2,018 Views
piusng
Contributor II

Windows 10

S32DS 3.5

RTD 4.0.0

There are liblto_pluigin-0.dll in C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_b1620\gcc-6.3-*-eabi\libexec\gcc\arm-none-eabi\6.3.1 but not gcc_v9,2 and gcc_v10.2.  I tried to build the RGB_LED sample using b1620 or v10.2 but both yielded errors in compilation.  I copied the liblto_plugin-0.dll from b1620 to gcc_v9.2 and I am able to build and burn into SD card successfully.  It works on the board.  The original error is at the linker stage of gcc v9.2.

0 Kudos
Reply
2,009 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We understand that you overcome the issue you had, correct?

Please, let us know.

0 Kudos
Reply
2,006 Views
piusng
Contributor II

Yes.  The issue is that liblto_plugin-0.dll is missing in the S32DS 3.5 gcc 9.2 directory.  I have to copy them from the gcc 6.3 directory and that seems to be the issue.  Do you think you guys should add the file to the 9.2 directory?

0 Kudos
Reply
2,001 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Thanks for your feedback.

We will provide this information to the related team. We apologize for the inconvenience.

Have a great day.

0 Kudos
Reply