From owner-freebsd-questions@FreeBSD.ORG Sat Feb 3 18:26:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8F5A16A402 for ; Sat, 3 Feb 2007 18:26:26 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: from mx1.stack.nl (meestal.stack.nl [131.155.140.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4B90E13C48D for ; Sat, 3 Feb 2007 18:26:26 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id 7109D4B1CE; Sat, 3 Feb 2007 19:26:25 +0100 (CET) X-Spam-DCC: sonic.net: snail.stack.nl 1117; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on snail.stack.nl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.5 X-Spam-Relay-Country: NL Received: from jurjen (a62-251-106-27.adsl.xs4all.nl [62.251.106.27]) by mailhost.stack.nl (Postfix) with ESMTP id 628B64B1A6 for ; Sat, 3 Feb 2007 19:26:23 +0100 (CET) Received: by jurjen (sSMTP sendmail emulation); Sat, 3 Feb 2007 19:25:59 +0100 From: "Jurjen Middendorp" Date: Sat, 3 Feb 2007 19:25:58 +0100 To: freebsd-questions@freebsd.org Message-ID: <20070203182558.GA3036@jurjenm.stack.nl> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: How did i destroy my fpc compiler + compiled binaries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 18:26:26 -0000 Hello, i have a very weird problem and am not sure what is wrong. I have deinstalled my fpc compiler a while ago, but i wanted to install it again today, but make-ing the port failed with some errors... not sure where to send it to or what those errors mean, so i'll put them at the end of the e-mail. If anyone knows what's wrong i'd like to hear it! I have a slightly weirder problem though, all of the programs i compiled with the freepascal compiler are failing mysteriously! I haven't run any of them in awhile but all of them fail with the following message: "Bad system call: 12 (core dumped)". I'm not very sure what's wrong. If i try to add the freepascal compiler as a binary (with pkg-add -r fpc) it gives the same message, so maybe it's an fpc problem. On the other hand those binaries used to work, so maybe i screwed something up :) I upgraded to stable a while ago and decided to remove some stuff from my kernel config in the process, i think that maybe i removed a litle too much? If anyone knows what is wrong or what i can do to get more information on this problem please let me know! Maybe the problem is that i commented out the compat-4 and compat-5 freebsd options? i thought i didn't needed them, but maybe freepascal is a litle old? Most of the stuff i changed was removing things i didn't have on my computer anyway, so that is the only thing i can think of that could have broken fpc. greetings, jurjen. Here is the error i get from building the lang/fpc port. My kernel config is below there :) [root@jurjen ~]# uname -a FreeBSD jurjen 6.2-STABLE FreeBSD 6.2-STABLE #8: Sat Feb 3 16:30:58 CET 2007 jurjen@jurjen:/usr/obj/usr/src/sys/JURJEN i386 [root@jurjen /usr/ports/lang/fpc]# make ===> Building for fpc-2.0.4_1 gmake tempclean ppc3.exe gmake[1]: Entering directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' /bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe gmake 'OLDFPC=' next gmake[2]: Entering directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' gmake rtlclean rtl gmake[3]: Entering directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' gmake -C clean gmake: Entering an unknown directory gmake: *** clean: No such file or directory. Stop. gmake: Leaving an unknown directory gmake[3]: *** [rtlclean] Error 2 gmake[3]: Leaving directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' gmake[2]: *** [next] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' gmake[1]: *** [ppc1.exe] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler' gmake: *** [cycle] Error 2 *** Error code 2 here is my kernel config file: machine i386 cpu I686_CPU options SMP ident JURJEN # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols option IPSEC options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework #options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 #options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions #options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC device npx #floating point support #Pseudo devices device mem # Memory and kernel memory devices device io # I/O device # Bus support. device eisa device pci device isa device agp # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device cd # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA #video device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # PCMCIA and cardbus bridge support device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Parallel port device ppc device ppbus # Parallel port bus (required) #device plip # TCP/IP over parallel device ppi # Parallel port interface device # PCI Ethernet NICs. device miibus # MII bus support device em # Intel PRO/1000 adapter Gigabit Ethernet Card # Wireless NIC cards device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_tkip # 802.11 TKIP support device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) device ath_rate_sample # SampleRate tx rate control for ath # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP #device tun # Packet tunnel. device pty # Pseudo-ttys (XTERM) # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic #device uhid # "Human Interface Devices" device ukbd # Keyboard #device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #for umass device scbus device da #stuff options COMPAT_LINUX #Linux binary compatibility #firewall options IPFIREWALL options IPFIREWALL_VERBOSE