Operating System - HP-UX
1833323 Members
3091 Online
110051 Solutions
New Discussion

Fixup applied to unknown instruction

 
devshlom
Regular Advisor

Fixup applied to unknown instruction

I got this problem (same as in thread http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1245650276359+28353475&threadId=1247597) but I installed the suggested pathced and it didn't help.
What can cause this weird problem?
tx,
s
5 REPLIES 5
Vivek Bhatia
Trusted Contributor

Re: Fixup applied to unknown instruction

Hi Devshalom,

Is this PA-RISC or Itanium?

Regards,
Vivek
Dennis Handly
Acclaimed Contributor

Re: Fixup applied to unknown instruction

>I installed the suggested patches and it didn't help. What can cause this weird problem?

A bad linker or compiler or corrupted object file.

>Vivek: Is this PA-RISC or Itanium?

The other thread was for PA only.
Dennis Handly
Acclaimed Contributor

Re: Fixup applied to unknown instruction

I suppose it could also happen if you are using a foreign devil compiler. You mention gcc in some of your other threads.
Laurent Menase
Honored Contributor

Re: Fixup applied to unknown instruction

do you recompile all your application from source or are you using some libs you get from somewhere else?


did you try -t option of ld to know exactly on what file you get that error
if you compile with cc use -Wl,-t option.
How do you generate the .o which will fail to be linked?

Dennis Handly
Acclaimed Contributor

Re: Fixup applied to unknown instruction

>Laurent: did you try -t option of ld to know exactly on what file you get that error

There is no need for that, the linker error points right at the object and the bad fixup.
You could use "odump -sub -fix -verbose 1 object-file"