Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l05lU-0000FZ-AW for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Jan 2021 16:46:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l05lT-0004SH-4F for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Jan 2021 16:46:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l05fM-0002SS-DP for pgsql-bugs@lists.postgresql.org; Thu, 14 Jan 2021 16:40:08 +0000 Received: from voyager.schoeler.ch ([185.194.142.87]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l05fH-0008Cs-Kw for pgsql-bugs@postgresql.org; Thu, 14 Jan 2021 16:40:07 +0000 Received: from localhost (localhost [127.0.0.1]) by voyager.schoeler.ch (Postfix) with ESMTP id 6CB1A880482E for ; Thu, 14 Jan 2021 17:40:02 +0100 (CET) X-Virus-Scanned: amavisd-new at schoeler.ch Received: from voyager.schoeler.ch ([127.0.0.1]) by localhost (mail.riscworks.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IEMFayEdzy01 for ; Thu, 14 Jan 2021 17:40:01 +0100 (CET) Received: from vagabond.local (c-71-203-64-100.hsd1.ga.comcast.net [71.203.64.100]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by voyager.schoeler.ch (Postfix) with ESMTPSA id 2F558880482B for ; Thu, 14 Jan 2021 17:39:55 +0100 (CET) Message-ID: <600073D8.8010604@dialectronics.com> Date: Thu, 14 Jan 2021 11:39:52 -0500 From: Tim Kelly User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: questions about porting postgresql to older operating system Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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