This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
From CR 6994038: At some point some feature of the IDE that automatically searches for binaries kicked in and chose a binary to populate BuildResult or something Then when we ran or debugged that project the run failed. It turned out to be because the IDE search machinery could not differentiate between an intel-Solaris and a intel-Linux binary. In fact the ELF header looks identical for these two. We needed to solve a similar problem in dbx (see CR 6988833) and for now will look at the ".interp" section to distinguish solaris from Linux binaries.
Decided to keep the CR open. Will close this one.
*** Bug 191576 has been marked as a duplicate of this bug. ***
Filtration by platform of binary files results in performance problem especially for remote file system (because it requires reading more than 16 first bytes of binary file). Possible solution is verifying selected file in org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel. To do this IDE need a way to differ *NIX platform and *NIX binary.