Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Build of tracktion examples failing on Linux #204

Open
1 task done
SavingCaustic opened this issue Apr 20, 2024 · 7 comments
Open
1 task done

[Bug]: Build of tracktion examples failing on Linux #204

SavingCaustic opened this issue Apr 20, 2024 · 7 comments

Comments

@SavingCaustic
Copy link

Detailed steps on how to reproduce the bug

Trying to compile Tracktion examples on Linux (Ubuntu) gives build-errors at 74%.

What is the expected behaviour?

Successful build

Unit test to reproduce the error?

No response

Operating systems

Linux

What versions of the operating systems?

cmake version 3.22.1
28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC

Architectures

x86_64

Stacktrace

74%] Linking CXX shared module EngineInPluginDemo_artefacts/Release/LV2/EngineInPluginDemo.lv2/libEngineInPluginDemo.so
make[2]: *** [CMakeFiles/EngineInPluginDemo_LV2.dir/build.make:234: EngineInPluginDemo_artefacts/Release/LV2/EngineInPluginDemo.lv2/libEngineInPluginDemo.so] Segmenteringsfel << Segmentation Error
make[2]: *** Tar bort filen ”EngineInPluginDemo_artefacts/Release/LV2/EngineInPluginDemo.lv2/libEngineInPluginDemo.so”
make[1]: *** [CMakeFiles/Makefile2:289: CMakeFiles/EngineInPluginDemo_LV2.dir/all] Fel 2
make: *** [Makefile:136: all] Fel 2

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
@drowaudio
Copy link
Contributor

Can I ask how much RAM you have? And swap space?

@SavingCaustic
Copy link
Author

Sure, currently 8GB and no swap. Will fix and post update. Thanks!

@drowaudio
Copy link
Contributor

I just wonder if the linker is running out of memory...

@SavingCaustic
Copy link
Author

No sorry, no luck with added swap. Memory not an issue.

How to reproduce:
`cd tests
./generate_examples
then:
Building TestRunner works but not EngineInPluginDemo. SegFault as described.

(Total noob in Tracktion, so above with a pinch of salt)

@drowaudio
Copy link
Contributor

It building in our CI. What version of gcc do you have installed?

@SavingCaustic
Copy link
Author

Man, it's old..
gcc --v => 11.4.0
c++ --v => 11.4.0

@drowaudio
Copy link
Contributor

I'm not sure what happening but our CI is passing on Ubuntu with gcc 11.4.0:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants