This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: *** [/build-glibc/sunrpc/xbootparam_prot.stmp] Segmentationfault


Hi Dan,
Do I need to change the Makefile in sunrpc. Becasue the patch and
exports did not stop compiling process to compiler the xbootparam_port.x
Yi
On Fri, 2004-06-18 at 10:56, Daniel Kegel wrote:
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]