DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th November 2015
notooth notooth is offline
Fdisk Soldier
 
Join Date: Jul 2015
Posts: 66
Question gcc-4.9.3p0 missing some headers?

Hi everyone,

I've just installed gcc-4.9.3p0, and I found out that it was missing file omp.h. I am wondering if it should be in the package.
Reply With Quote
  #2   (View Single Post)  
Old 20th November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,047
Default

libgomp is disabled in OpenBSD. If you need to develop for GNU OpenMP, you'll need a different OS.
Reply With Quote
  #3   (View Single Post)  
Old 20th November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,047
Default

Here's a link to the most recent discussion I could find...

http://marc.info/?l=openbsd-misc&m=140454992125167&w=2
Reply With Quote
  #4   (View Single Post)  
Old 21st November 2015
notooth notooth is offline
Fdisk Soldier
 
Join Date: Jul 2015
Posts: 66
Default

I've just compiled lang/gcc/4.9 in ports, but it lacks of omp.h as well
Reply With Quote
  #5   (View Single Post)  
Old 21st November 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,047
Default

I'm sorry I wasn't clear. I'll try again.

First, some needed background.
  • The port produces the binary package. There is no functional difference between building from the port, and installing the binary package from a nearby mirror.
  • The port's Makefile explicitly disables libgomp, the library for Gnu Offload and Multi Processing, using the OpenMP standard.
Now, I'll try to be clearer:
  • You cannot build Gnu OpenMP applications on OpenBSD today. No one has stepped up to port OpenMP to OpenBSD.
  • The header file you want to use requires the disabled OpenMP library. It's only purpose is to provide OpenMP programming interfaces.
Unless and until OpenMP is ported, if you require an OpenMP application, you will need to use a different OS.

Last edited by jggimi; 21st November 2015 at 08:44 PM. Reason: clarity, typos
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
Missing library jaax OpenBSD Packages and Ports 2 6th April 2011 08:11 AM
Viewing manpages: Headers and footers get repeated. Carpetsmoker Solaris 3 21st February 2010 02:55 AM
powersurge - missing mbr? knasbas OpenBSD General 12 6th December 2009 09:59 PM
sys.tar.gz missing from 3rd CD in 4.5? thirdm OpenBSD Installation and Upgrading 0 5th May 2009 03:25 PM


All times are GMT. The time now is 04:21 AM.


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