Bug 8181

Summary: glibc should use cross-rpcgen not host rpcgen
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: 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, raj.khem, richard.purdie
Version: 1.9   
Target Milestone: 1.9 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2015-08-18 17:01:49 UTC
glibc uses the host rpcgen during do_compile.  glibc builds a sunrpc/cross-rpcgen binary, so that should be used instead.
Comment 2 Bogdan Alexandru Voiculescu 2015-09-17 08:53:00 UTC
Verified on ea562de57590c966cd5a75fda8defecd397e6436

glibc uses sunrpc/cross-rpcgen binary - log example: 

/build/tmp/work/x86-pokymllib32-linux/lib32-glibc/2.22-r0/build-i586-pokymllib32-linux/sunrpc/cross-rpcgen -Y ../scripts -h rpcsvc/key_prot.x -o /home/valentin/yocto/poky/build/tmp/work/x86-pokymllib32-linux/lib32-glibc/2.22-r0/build-i586-pokymllib32-linux/sunrpc/rpcsvc/key_prot.T