Skip to content

[build.py] debug-info prevents compilation for GCC_ARM #1990

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

Closed
geky opened this issue Jun 22, 2016 · 2 comments
Closed

[build.py] debug-info prevents compilation for GCC_ARM #1990

geky opened this issue Jun 22, 2016 · 2 comments

Comments

@geky
Copy link
Contributor

geky commented Jun 22, 2016

Ran the following:

$ PYTHONPATH=. python tools/build.py -t GCC_ARM -m K64F
[WARNING] Using default settings. Define your settings in the file "./mbed_settings.py"
Building library CMSIS (K64F, GCC_ARM)
Copy: core_cm4_simd.h
Copy: arm_math.h
Copy: core_cm0plus.h
blablablabla

Works just fine.

But oh no! Someone (not me I assure you) put a bug in my program. Time to debug.

Ran the following to add debug info:

$ PYTHONPATH=. python tools/build.py -t GCC_ARM -m K64F -o debug-info
[WARNING] Using default settings. Define your settings in the file "./mbed_settings.py"
GCC_ARM instance has no attribute 'notify_fun'

Completed in: (0.00)s

Build failures:
  * GCC_ARM::K64F

Here's some random info:

geky added a commit to geky/mbed that referenced this issue Jun 23, 2016
Options were parsed and logged before per-toolchain
logging was setup.

Fixes ARMmbed#1990
@theotherjimmy
Copy link
Contributor

theotherjimmy commented Jun 23, 2016

That cat /proc/version is just the gcc version. it should look something like this:
Linux version 3.13.0-66-generic (buildd@lgw01-26) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015

@screamerbg
Copy link
Contributor

LGTM

@sg- sg- closed this as completed in #1995 Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants