473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

KPIC makes programs running crash when libraries are recompiled

[Solaris 2.8 && Sun Studio 10]

Hi,

I have a very simple library that wraps a Timer class and a test
program linked to it.

First of all, I compile the library and the main without the KPIC flag.
Then, I execute the program and, while it's running, I add some dummy
sentence to the library and recompile it. Nothing happens to the binary
running. It keep unaware of changes in the library and keeps running.

Now, I recompile everything with KPIC and try to make the same test.
Just when the library has been recompiled, execution is broken by a
core dump.

You'd say that it has an easy solution: do not use the KPIC but I'm
trying to develop my program in 64 bits and I'm forced - as far as I
know - to compile using the KPIC flag.

Any idea of how to make it work? I can't assume to stop all my programs
after any change in the library.

Thanks in advance
Jorge Ortiz

Feb 22 '06 #1
0 1380

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Russell | last post by:
Hello everybody, I'm the administrator of our network and we have a problem with our Windows server 2003 standard. Recently I've installed the server on our network and promoted it to domain...
12
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
14
by: JK Peck | last post by:
I have a fairly large Access application that ran correctly in Access 2000. After upgrading to Access 2003 (and recompiling and updating references), it reliably crashes at a certain point. If I...
2
by: jortizclaver | last post by:
Hi, I have a very simple library that wraps a Timer class and a test program linked to it. First of all, I compile the library and the main without the KPIC flag. Then, I execute the program...
15
by: Trapulo | last post by:
Very often my VS2005 pro crashes after a debug. I run ASP.NET debug, and all works well. Then I stop it, and all it's also ok. Then, when I try to edit some code, it crashes and I need to kill it,...
55
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some...
34
by: NewToCPP | last post by:
Hi, Why does a C/C++ programs crash? When there is access to a null pointer or some thing like that programs crash, but why do they crash? Thanks.
2
by: samslists | last post by:
So I have a python program that runs a bunch of other programs....it then loops forever, occasionally executing other programs. To run each of these programs my python code executes:...
1
by: beauwlf | last post by:
Hi I recompiled previous VC6.0 C++ MFC project with VS2008 Evaluation It could run release at the system with the VS2008 installed. But it gives "Application has failed to start because the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.