Everything on Centos 7 seems fine - except - my program. I am trying to compile and run on centos 7.
Everything compiles/runs on C6, the executable from C6 runs on C7. when I compile and run on C7 - I get a SEG fault. when I debug: gdb program break main run I get a seg fault at or before main
What might I be looking for in this case?
Thanks,
Jerry
On 06/05/2015 04:18 AM, Jerry Geis wrote:
when I debug: gdb program break main run I get a seg fault at or before main
What might I be looking for in this case?
Even if it segfaults before main(), you should be able to examine the stack to see what's going on. Beyond that, any advice we give you would be blind guessing. My blind guess would be a symbol conflict between your application and glibc.
Gordon Messmer wrote:
On 06/05/2015 04:18 AM, Jerry Geis wrote:
when I debug: gdb program break main run I get a seg fault at or before main
What might I be looking for in this case?
Even if it segfaults before main(), you should be able to examine the stack to see what's going on. Beyond that, any advice we give you would be blind guessing. My blind guess would be a symbol conflict between your application and glibc.
Have you run lint?
mark "we don' need no steenkin' switches!"
On 06/05/2015 06:18 AM, Jerry Geis wrote:
Everything on Centos 7 seems fine - except - my program. I am trying to compile and run on centos 7.
Everything compiles/runs on C6, the executable from C6 runs on C7. when I compile and run on C7 - I get a SEG fault. when I debug: gdb program break main run I get a seg fault at or before main
What might I be looking for in this case?
Another option, if it works in CentOS-6, is to use the compat-glibc from c6.