Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2001 10:00:10 +0900 (JST)
From:      Eriya Akasaka <eakasaka@rodfbs.org>
To:        freebsd-stable@freebsd.org
Cc:        juha@saarinen.org, sheldonh@FreeBSD.org
Subject:   Re: Exim stops working in 4.3-STABLE because of Perl problems?
Message-ID:  <20010512.100010.783380329.eakasaka@rodfbs.org>
In-Reply-To: <KPECIILENDDLPCNIMLOFCECMCEAA.juha@saarinen.org>
References:  <KPECIILENDDLPCNIMLOFCECMCEAA.juha@saarinen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm not Exim user.

>>>>> In article <KPECIILENDDLPCNIMLOFCECMCEAA.juha@saarinen.org>,
	On Sat, 12 May 2001 11:32:56 +1200
	"Exim stops working in 4.3-STABLE because of Perl problems?"
	"Juha Saarinen" <juha@saarinen.org> wrote:

juha> I upgraded a 4.2-STABLE box to 4.3-STABLE; it was running Exim 3.20. After
juha> reboot, Exim started fine, but I noticed some old frozen messages that I
juha> wanted to thaw... no go:
juha> # exim -bp
juha> /usr/libexec/ld-elf.so.1: Undefined symbol "PL_stack_max" referenced from
juha> COPY relocation in exim
juha> bash-2.04# exim -M
juha> /usr/libexec/ld-elf.so.1: Undefined symbol "PL_stack_max" referenced from
juha> COPY relocation in exim
juha> bash-2.04# exim -Mt
juha> /usr/libexec/ld-elf.so.1: Undefined symbol "PL_stack_max" referenced from
juha> COPY relocation in exim
juha> # exim
juha> /usr/libexec/ld-elf.so.1: Undefined symbol "PL_stack_max" referenced from
juha> COPY relocation in exim
juha> "PL_stack_max" looks like a Perl thingy.

Are you enable "PERL_THREADED= true" in /etc/make.conf ?
If so, try commented out(disable) PERL_THREADED= true
then make buildworld and make installworld.
After installworld, build ports/mail/exim.

juha> Upgrading Exim to 3.22 from the ports collection produced segfaults:
juha> # exim -d9 -bd -q30m
juha> Exim version 3.22 debug level 9 uid=0 gid=0
juha> probably Berkeley DB version 1.8x (native mode)
juha> Caller is an admin user
juha> Caller is a trusted user
juha> originator: uid=0 gid=0 login=root name=Rootster Root
juha> port = 25
juha> listening on all interfaces
juha> Segmentation fault

juha> The workaround for this is to comment out this line in the Exim port
juha> Makefile:
juha> # Enable the embedded Perl interpreter, allowing Perl subroutines to be
juha> # called during string expansion.
juha> # WITH_PERL=     yes
juha> ^^^^^^^^^^--- uncommented by default.

Similar problem apper some ports for example
ports/news/inn and inn-stable, ports/www/mod_perl, ports/mail/im ...

juha> What's changed between 4.2-STABLE and 4.3-STABLE that kills Exim's embedded
juha> Perl interpreter?

Sorry, I don't know it.
Hints.
Before buildworld,

# cd /usr/ports/mail/exim/work/exim-3.22/build-FreeBSD-i386
# gdb ./exim /Full/Path/To/exim.core


--Eriya Akasaka <eakasaka@rodfbs.org>
<eakasaka@akasaka-rodfbs.uinet.or.jp>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010512.100010.783380329.eakasaka>