pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Kelly <gtkelly@dialectronics.com>
To: pgsql-bugs@postgresql.org
Subject: questions about porting postgresql to older operating system
Date: Thu, 14 Jan 2021 11:39:52 -0500
Message-ID: <600073D8.8010604@dialectronics.com> (raw)

Hello,
I am working with an old version of an open source operating system.  I 
have long since forked from the main development and am not going back. 
  I have built my own toolchain, which does not include GNU's make or 
any other gnutils (except nano).  The OS is also not p-thread compliant 
(or MP-aware).  All libraries are statically linked.  I am following the 
adage "if you want something done a certain way, do it yourself," which 
I heard all-too-often before I did.

I am attempting to port postgresql-9.6.20 to this environment.  I've 
made it through various pitfalls in configure, but as I get closer to 
actually compiling, I'm wondering about the pitfalls ahead.

I had to run --disable-thread-safety, since there is not pthread 
support.  The configure process is failing at the time it needs to link

config.status: linking ./src/backend/port/dynloader/(removed).c to 
src/backend/port/dynloader.c
config.status: error: ./src/backend/port/dynloader/(removed).c: file not 
found

There is no dynamic linking or loading with this operating system.

There was no template for this operating system, so I added one.  I am 
emailing the address given in configure with my questions.

1) Starting with gmake, what specific functionality is required that can 
not be duplicated with manually crafting Makefiles?

2a) Can postgresql run without pthread support?
2b) If no, is there an older version that would run? (I need some 
functionality introduced in 8.x.)

3) Can postgresql still work without dynamic loading support?


Thank you,
tim

-- 
"I ain't gonna play Sun City."
	-- (Little) Steven Van Vandt/Artists United Against Apartheid





view thread (4+ messages)  latest in thread

Message-ID: <600073D8.8010604@dialectronics.com>
Permalink:  ../600073D8.8010604@dialectronics.com/
Also on:    postgresql.org/message-id/600073D8.8010604@dialectronics.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: gtkelly@dialectronics.com
  Subject: Re: questions about porting postgresql to older operating system
  In-Reply-To: <600073D8.8010604@dialectronics.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox