Bug 7956

Summary: gcc5: doesn't build libcc1 for target
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: 1.9   
Target Milestone: 1.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Robert Yang 2015-07-05 03:18:13 UTC
There are errors in target gcc's log.do_compile, and libcc1.so didn't get build:

checking for socket libraries... checking for connect... yes
checking for gethostbyname... yes

checking for exported symbols... /buildarea/lyang1/t_cc/tmp/work-shared/gcc-5.1.0-r0/gcc-5.1.0/libcc1/configure: line 14531: -T: command not found
yes
checking for -rdynamic... g++  -DIN_GCC    -isystem/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DGENERATOR_FILE -L/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/usr/lib -L/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/buildarea/lyang1/t_cc/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -o build/genattrtab \
        build/genattrtab.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-x86_64-linux/libiberty/libiberty.a
/buildarea/lyang1/t_cc/tmp/work-shared/gcc-5.1.0-r0/gcc-5.1.0/libcc1/configure: line 14541: -T: command not found
Comment 2 Bogdan Alexandru Voiculescu 2015-09-16 12:41:20 UTC
verified on master ea562de57590c966cd5a75fda8defecd397e6436