| Summary: | gcc linker doesn't work in "bitbake devshell" environment | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Chunrong Guo <b40290> |
| Component: | devtools / tool chain | Assignee: | Bogdan Marinescu <bogdan.a.marinescu> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | meta.mr.watcher, meta.watcher, msm-oss, sgw, zhenhua.luo |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | mpc8315e-rdb | ||
| OS: | ppc | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Chunrong Guo
2012-09-04 08:05:08 UTC
You are probably not exporting flags correctly to build the kernel. Did you look at everything the kernel.bbclass is changing (as in what linker flags it might be overriding?) (In reply to comment #1) > You are probably not exporting flags correctly to build the kernel. Did you > look at everything the kernel.bbclass is changing (as in what linker flags > it might be overriding?) In fact just try: $ LDFLAGS= make modules devshell does not properly set every variable, that's what the recipe is for. I think this can be marked NOTABUG. -M You can also look at the temp/run.do_compile script to see what variable are set and the shell code overrides. I agree probably not a bug. |