DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th November 2010
cacko cacko is offline
New User
 
Join Date: Nov 2010
Posts: 2
Default 4.8 = daemontools no longer works

Hi, after updating to 4.8, daemontools stoped working.
Code:
 # svscan /service
[1]    743 invalid system call  svscan /service
any idea how can I fixed it ?
Reply With Quote
  #2   (View Single Post)  
Old 27th November 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

What "daemontools" are you referring to? I'm assuming you mean D. J. Bernstein's project? here?

I can't find a port for this in the ports tree, as is usual for his stuff, so if you're attempting to use an old binary on 4.8.. binary compatibility isn't really a huge priority for the project, you should recompile if possible.
Reply With Quote
  #3   (View Single Post)  
Old 27th November 2010
cacko cacko is offline
New User
 
Join Date: Nov 2010
Posts: 2
Default

thanks, after recompile it's working =)
Reply With Quote
  #4   (View Single Post)  
Old 27th November 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

OpenBSD 4.8 switched to gcc4 as mentioned below:

http://www.openbsd.org/48.html

As BSDfan666 explains, this may lead to incompatibilities due to new binary startup code, library changes, & other differences in how binaries are structured in memory.

If you compiled these tools before, you will need to do so again. If you downloaded binaries before, you will need to determine whether anything downloaded now is compiled with a new compiler version. If not, you will be running into the same problem.
Reply With Quote
  #5   (View Single Post)  
Old 27th November 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Right, it all depends on when you compiled the binary.. or did you actually upgrade or reinstall?

A binary that was compiled on a 4.7 system that was upgraded should have "ABI" compatibility with 4.8, but if you reinstalled completely the shared C library distributed with 4.7 is not in the 4.8 installation sets, a new major library will be shipped that have may have different semantics now.

A static OpenBSD binary should continue working as long as the low level system calls haven't changed, which can sometimes happen, I do believe they try to retain compatibility here for at least 2 releases.

You have to remember that OpenBSD is a constantly evolving system and they don't want to be stuck in the sand, if you compile your own software.. recompile after upgrading/reinstalling.. if you use the official OpenBSD packages, please upgrade them.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DJB daemontools: compile and install scripts (OpenBSD) J65nko Guides 2 13th November 2009 10:57 AM
my radeon hd card is no longer working iacbsd OpenBSD General 8 17th July 2009 10:14 AM
Username longer than 16 characters _hmp_ FreeBSD General 5 13th January 2009 10:01 AM
Network connection works fine, and then... snes-addict OpenBSD General 8 20th October 2008 11:13 PM
Numeric keypad don't works on X aleunix OpenBSD Installation and Upgrading 3 15th June 2008 11:59 AM


All times are GMT. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick