From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:34:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0421C16A468 for ; Sun, 20 May 2007 11:34:32 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.107]) by mx1.freebsd.org (Postfix) with ESMTP id 941FC13C458 for ; Sun, 20 May 2007 11:34:31 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from CDION (ppp245-121.dsl.hol.gr [89.210.245.121]) by smtp.freemail.gr (Postfix) with ESMTP id DA851A0828F for ; Sun, 20 May 2007 14:34:29 +0300 (EEST) Date: Sun, 20 May 2007 14:33:01 +0300 From: Chris Dionissopoulos X-Mailer: The Bat! (v3.80.06) Professional X-Priority: 3 (Normal) Message-ID: <162418621.20070520143301@freemail.gr> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ruby-1.8.6 and GCC-4.2 issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Dionissopoulos List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 11:34:32 -0000 Hello ppl, It seems that ruby-1.8.6,1 builded with GCC4.2 have the same OpenSSL issues (illegal instruction). How to reproduce: mail# cd /usr/ports/ports-mgmt/portupgrade mail# make install clean .... builds ruby-1.8.6,1 as dependency.... mail# cd /usr/ports mail# portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade [Updating the pkgdb in /var/db/pkg ... ** Stale lock file was found. Removed. Illegal instruction (core dumped) mail# ll /usr/ports/ruby18.core -rw------- 1 root wheel 143671296 May 20 14:19 /usr/ports/ruby18.core mail# gdb -c ruby18.core /usr/local/bin/ruby18 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `ruby18'. Program terminated with signal 4, Illegal instruction. Reading symbols from /usr/local/lib/libruby18.so.18...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libruby18.so.18 Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libthr.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.2 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/dl.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/dl.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/dbm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/dbm.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x281dd662 in free () from /lib/libc.so.7 [New Thread 0x28301100 (LWP 100203)] (gdb) t [Current thread is 1 (Thread 0x28301100 (LWP 100203))] (gdb) bt #0 0x281dd662 in free () from /lib/libc.so.7 #1 0x281dec39 in malloc () from /lib/libc.so.7 #2 0x28240657 in arc4random_addrandom () from /lib/libc.so.7 #3 0x2823bbfa in __srget () from /lib/libc.so.7 #4 0x2823bcc6 in __srget () from /lib/libc.so.7 #5 0x2823bcc6 in __srget () from /lib/libc.so.7 #6 0x2823bcc6 in __srget () from /lib/libc.so.7 #7 0x2823bcc6 in __srget () from /lib/libc.so.7 #8 0x2823bcc6 in __srget () from /lib/libc.so.7 #9 0x2823bcc6 in __srget () from /lib/libc.so.7 #10 0x2823bcc6 in __srget () from /lib/libc.so.7 #11 0x2823bcc6 in __srget () from /lib/libc.so.7 #12 0x2823bcc6 in __srget () from /lib/libc.so.7 #13 0x2823bcc6 in __srget () from /lib/libc.so.7 #14 0x2823bcc6 in __srget () from /lib/libc.so.7 #15 0x2823bcc6 in __srget () from /lib/libc.so.7 #16 0x2823bcc6 in __srget () from /lib/libc.so.7 #17 0x2823bcc6 in __srget () from /lib/libc.so.7 #18 0x2823bcc6 in __srget () from /lib/libc.so.7 #19 0x2823bcc6 in __srget () from /lib/libc.so.7 #20 0x2823bcc6 in __srget () from /lib/libc.so.7 #21 0x2823bcc6 in __srget () from /lib/libc.so.7 #22 0x2823bcc6 in __srget () from /lib/libc.so.7 #23 0x2823bcc6 in __srget () from /lib/libc.so.7 #24 0x2823bcc6 in __srget () from /lib/libc.so.7 #25 0x2823bcc6 in __srget () from /lib/libc.so.7 #26 0x2823bcc6 in __srget () from /lib/libc.so.7 #27 0x2823bcc6 in __srget () from /lib/libc.so.7 #28 0x2823bcc6 in __srget () from /lib/libc.so.7 #29 0x2823bcc6 in __srget () from /lib/libc.so.7 #30 0x2823bcc6 in __srget () from /lib/libc.so.7 #31 0x2823bcc6 in __srget () from /lib/libc.so.7 #32 0x2823bcc6 in __srget () from /lib/libc.so.7 #33 0x2823bcc6 in __srget () from /lib/libc.so.7 #34 0x2823bcc6 in __srget () from /lib/libc.so.7 #35 0x2823bcc6 in __srget () from /lib/libc.so.7 #36 0x2823bcc6 in __srget () from /lib/libc.so.7 #37 0x2823bcc6 in __srget () from /lib/libc.so.7 #38 0x2823bcc6 in __srget () from /lib/libc.so.7 #39 0x2823bcc6 in __srget () from /lib/libc.so.7 #40 0x2823bcc6 in __srget () from /lib/libc.so.7 #41 0x2823bcc6 in __srget () from /lib/libc.so.7 #42 0x2823bcc6 in __srget () from /lib/libc.so.7 #43 0x2823bcc6 in __srget () from /lib/libc.so.7 #44 0x2823bcc6 in __srget () from /lib/libc.so.7 #45 0x2823bcc6 in __srget () from /lib/libc.so.7 #46 0x2823bcc6 in __srget () from /lib/libc.so.7 #47 0x2823bcc6 in __srget () from /lib/libc.so.7 #48 0x2823bcc6 in __srget () from /lib/libc.so.7 #49 0x2823bcc6 in __srget () from /lib/libc.so.7 #50 0x2823bcc6 in __srget () from /lib/libc.so.7 #51 0x2823bcc6 in __srget () from /lib/libc.so.7 #52 0x2823bcc6 in __srget () from /lib/libc.so.7 #53 0x2823bcc6 in __srget () from /lib/libc.so.7 #54 0x2823bcc6 in __srget () from /lib/libc.so.7 #55 0x2823bcc6 in __srget () from /lib/libc.so.7 #56 0x2823bcc6 in __srget () from /lib/libc.so.7 #57 0x2823bcc6 in __srget () from /lib/libc.so.7 #58 0x2823bcc6 in __srget () from /lib/libc.so.7 #59 0x2823bcc6 in __srget () from /lib/libc.so.7 ---Type to continue, or q to quit---q Quit (gdb) q mail# any help is welcome, Chris. ps. buildworld/kernel from sources after GCC-4.2 import and with Alexander's openssl patch applied.