Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - i386-pc-nto-qnx6.3.0-strip-2.18 failed: (4 Items)
   
i386-pc-nto-qnx6.3.0-strip-2.18 failed  
strip -> i386-pc-nto-qnx6.3.0-strip-2.18 not work correctly.
# i386-pc-nto-qnx6.3.0-strip-2.18 cc1
# ./cc1
Memory fault (core dumped)
RE: i386-pc-nto-qnx6.3.0-strip-2.18 failed  
When it comes to stripping binaries, there are a few things that you do
not, under any circumstances run strip on:

1) procnto
2) startup
3) the compilers (cc1, cc1plus)

Each of these has symbols that are required to be there, and if you run
strip on them the binaries cease to function correctly. I'm not saying
this to be glib. Rather, I've had experience where I've stripped a
compiler patch and then shipped it to a customer (without testing
first). Needless to say, the compiler did not work, and the customer was
not happy with me.

Strip is intended to be used on your own applications, and not what QNX
ships (most of what we ship is stripped anyways).

Cheers,
-Brian 

> -----Original Message-----
> From: bogdan celer [mailto:bceler@op.pl] 
> Sent: Friday, June 27, 2008 05 21
> To: general-toolchain
> Subject: i386-pc-nto-qnx6.3.0-strip-2.18 failed
> 
> strip -> i386-pc-nto-qnx6.3.0-strip-2.18 not work correctly.
> # i386-pc-nto-qnx6.3.0-strip-2.18 cc1
> # ./cc1
> Memory fault (core dumped)
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post9763
> 
> 
Re: RE: i386-pc-nto-qnx6.3.0-strip-2.18 failed  
Brian,
the problem arise when I work over the compiler gcc4.4.0.
I strip always executes on files of compiler of such as cc1 gnat1 are etc . because files these very large and this 
necessary is not always.
The previous version strip tj. 2.17 work correctly. So the problem is however probably in version 2.18.
Re: RE: i386-pc-nto-qnx6.3.0-strip-2.18 failed  
> The previous version strip tj. 2.17 work correctly. So the problem is however 
> probably in version 2.18.

I'll open a PR and investigate. Thanks for the report.

Regards,

Ryan Mansfield