473,513 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

64 bit compile on Linux SPARC U5

I'm trying to get PostgreSQL-7.4RC2 to compile with 64 bit support on my Linux
SPARC Ultra5.
The problem is that the linker has to be passed (for what I have experienced)
the value -m elf64_sparc to /usr/bin/ld, else the linker will give this
error:

/usr/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o
scankey.o tupdesc.o
/usr/bin/ld: No tiene soporte el enlazado reubicable con reubicaciones del
formato elf64-sparc (heaptuple.o) al formato elf32-sparc (SUBSYS.o)
make[4]: *** [SUBSYS.o] Error 1

The error disappers if I add the "-m elf64_sparc" to the ld line.

Is there a way to have this added to the configure?

--
18:35:01 up 23 days, 1:57, 4 users, load average: 0.82, 1.58, 1.59
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #1
0 1103

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
2654
by: Keith S. | last post by:
Hi Folks, When converting a double to an int, the result is not as I'd expect on Linux: #include <stdio.h> int main(int argc, char **argv) { double val = 0.24;
0
1300
by: Ganesh Tiwari | last post by:
i want to write a program, which works much like ldd command, which goes throgh c/c++ binary on solaris/SPARC and check whether it is possible to port it on to linux/intel. How do i do this? what...
12
3409
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
3
1349
by: Martin Marques | last post by:
I tried compuiling RC1 and got this on make: make: Entering directory `/space/home/martin/basura/postgresql-7.4RC1/src/backend/access/common' /usr/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o...
11
19027
by: Vittal | last post by:
Hello All, I have a Linux 64 bit machine and I have installed GCC 3.2.2 on it. Now I want to a compile a small .c file for 32 bit. I tried to use -m32 option for compiling the file as 32 bit....
2
3729
by: alok | last post by:
I am getting inconsistent behvior on Linux and Solaris platfors while computing doule ( 64 bit precision ) multiplications. I have following two double numbers whose integer representation is as...
0
1746
by: abottchow | last post by:
Hi all, I'm new to the group and am seeking your advice on my Linux programming problem. Two programs are involved. One is myProgram.cc, which reads user's input from keyboard and prints...
3
3264
by: Mikail Dellovich | last post by:
I am on a Solaris 10 6/06 SPARC machine. I tried to compile sound player app for Asterisk and got the following error: Can someone provide an explanation or work around? Thanks! ...
2
2290
by: mdshafi01 | last post by:
Hi, I am trying to compile c++ program in SunOs, It is giving following error. does any one tell me why this error is getting error is program's name is corrid.cpp This c++ program is...
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7553
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5697
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.