*** [/build-glibc/sunrpc/xbootparam_prot.stmp] Segmentation fault
Daniel Kegel
dank@kegel.com
Fri Jun 18 17:56:00 GMT 2004
Yi Sun wrote:
> Dan,
> This is not a cross compile question. But I saw you answered some
> questions for this problem on the google.
> Could you please give more information about this problem?
> *** [/build-glibc/sunrpc/xbootparam_prot.stmp] Segmentation fault
That's a crash running rpcgen, the first program glibc tries to run that was created
during the build, so there could be any number of causes.
http://gcc.gnu.org/ml/gcc/2003-01/msg00030.html shows how
they tracked one down: build a hello world program with the
same command glibc used to build rpcgen. But the cause
they were tracking down was probably different than whatever
you're hitting.
When I do canadian crosses, I ran into similar problems.
There, I just wimp out and use the system rpcgen, I seem to recall.
See patches/glibc-2.3.2/glibc-2.3.2-override.patch
Then, before running crosstool, I do
localedef_FOR_BUILD=localedef
rpcgen_FOR_BUILD=rpcgen
zic_FOR_BUILD=zic
export localedef_FOR_BUILD rpcgen_FOR_BUILD zic_FOR_BUILD
Maybe you can do something like that, too.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list