Tom Lane wrote:
"Jim C. Nasby" <[EMAIL PROTECTED]> writes:

Damn, I'm sorry, I totally mis-interpreted this. Turns out the failures
are due to a perl problem.


Yeah, but the nonpic change caused that.

Can anyone tell me which machine types (host_cpu values) FreeBSD does
support non-PIC code in shlibs for?  Is it only x86, and if so exactly
what's the host_cpu setting?  We need to throw a conditional into
Makefile.freebsd.

Judging from the config.guess script that the PostgreSQL distribution uses, the host_cpu value should be "x86_64".

I think this mixing of non-relocatable and relocatable code is a problem that exists for all amd64 machines, regardless of the operating system. When Googling for the linker error message, I've seen it crop up for users running NetBSD, FreeBSD and Linux. I think you'll want to add the same conditional setting of allow_nonpic_in_shlib in src/makefiles/Makefile.linux based on the host_cpu value.

        Cheers,

        -- Johnny Lam <[EMAIL PROTECTED]>

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to