home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,976 of 4,675   
   Xavier Maillard to Rod Pemberton   
   Re: EXE not found   
   04 Dec 19 16:23:50   
   
   From: xavier@nospicedham.maillard.im   
      
   On Wed, 4 Dec 2019, Rod Pemberton wrote:   
      
   > On Sun, 1 Dec 2019 23:55:06 +0100   
   > Xavier Maillard  wrote:   
   >   
   >> [snip]   
   >   
   >    
   >   
   >> total 20   
   >> -rwxrwxrwx 1 xavier xavier 15216 Dec  1 06:47 fibo   
   >> -rw-rw-rw- 1 xavier xavier  2304 Dec  1 06:47 fibo.o   
   >> -rw-rw-rw- 1 xavier xavier   353 Nov 29 13:11 fibo.s   
   >> -rw-rw-rw- 1 xavier xavier   513 Dec  1 06:44 Makefile   
   >   
   > The file privileges look fine, except they're usually 755 for   
   > an executable and 644 for a non-executable.   
      
   Yuo. Dunno why it is different on this system. This is a secondary   
   subject but I'll have to sort out at some point.   
      
   > Do other Linux utilities see the file?  e.g., ls, vi, emacs, file, etc.   
      
   Indeed, yes.   
      
   I could hexdump, readelf, ldd or even gdb it with no problem.   
      
   I tested all I could and it turned out to be something wrong with LD.   
      
   Linking my executable was done via a call to ld.   
      
   Got a good lecture on the Internet and I finally fiexed my problem by   
   linking it with gcc -no-pie.   
      
   Not sure why I would have needed this but, hey, that worked. I will read   
   about this PIE later.   
      
   --   
      
            - xma   
      
   GPG:  BA4909B7 8F04DE1B   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca