| Summary: | gcc-4.7 build fails on systemtap-sdt-devel installed host | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jiajun Xu <jiajun.xu> | ||||||||
| Component: | devtools / tool chain | Assignee: | Saul Wold <sgw> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | High | CC: | alexandru.c.georgescu, bogdan.a.marinescu, hongnax.xu, laurentiu.serban, meta.mr.watcher, meta.watcher, ningx.ma, raj.khem, ross.burton, sgw, yilongx.y.sun | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 1.3 M1 | ||||||||||
| Hardware: | x86 | ||||||||||
| OS: | Multiple | ||||||||||
| Whiteboard: | patch pending in mut | ||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||
| Verified: | Documentation change: | --- | |||||||||
| Attachments: |
|
||||||||||
|
Description
Jiajun Xu
2012-06-06 01:27:15 UTC
Created attachment 560 [details]
do_compile failed for gcc-4.7
Yep, I'm getting this too. There is no sdt.h in target sysroot: ##### [build@jiajun-desktop build]$ find tmp/sysroots | grep sdt [build@jiajun-desktop build]$ ##### Created attachment 567 [details]
log for do_configure of gcc-4.7
Created attachment 568 [details]
config.log for gcc-4.7/gcc
config.log shows configure:26743: checking sys/sdt.h in the target C library configure:26752: result: yes now can you check if you have sdt.h in /usr/include on your build machine ? Just for checks can you move that header out if its there and then rerun do_configure and send me the config.log ? I also have that problem. That header file is in /usr/include/sys, and removing it (by removing systemtap-sdt-devel, and the vast amount of perl that ultimately depends on it) fixes the build. (In reply to comment #6) > config.log shows > > configure:26743: checking sys/sdt.h in the target C library > configure:26752: result: yes > > now can you check if you have sdt.h in /usr/include on your build machine ? > > Just for checks can you move that header out if its there and then rerun > do_configure and send me the config.log ? Hi Khem, This bug only appears if the systemtap-sdt-devel is installed on my Ubuntu x86_64 host. It seems that the configure step always looks for this header in /usr/include, regardless of the target (native or cross). Not sure how to fix this. Try this patch http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=df9ccc1a7b01ab9730ed3747e6b48f4ecabc822e and see if it fixes the issue. (In reply to comment #9) > Try this patch > > http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/ > misc&id=df9ccc1a7b01ab9730ed3747e6b48f4ecabc822e > > and see if it fixes the issue. It does, thank you. I'll send the patch to the mailing list. verified on fedora 17 with package systemtap-sdt-devel-1.7-7.fc17.x86_64 installed |