ports/148096: packages linux_base-* can not be built from ports on amd64
Christoph Weber-Fahr
cwf-ml at arcor.de
Thu Jun 24 00:20:02 UTC 2010
>Number: 148096
>Category: ports
>Synopsis: packages linux_base-* can not be built from ports on amd64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 24 00:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Christoph Weber-Fahr
>Release: FreeBSD 7.3
>Organization:
Vodafone
>Environment:
FreeBSD xxx.yyy.zzz.de 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Jun 7 14:29:18 UTC 2010 root at build64-73.xxx.build.yyy.net:/usr/obj/usr/src/sys/DL380DNS amd64
>Description:
all linux_base_f* packages fail early in the package build when trying to install from source:
Example:
===============================================================
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I../../src/liblzma/common -I../../src/liblzma/check -I../../src/liblzma/lz -I../../src/liblzma/rangecoder -I../../src/liblzma/lzma -I../../src/liblzma/subblock -I../../src/liblzma/delta -I../../src/liblzma/simple -I../../src/common -O2 -fno-strict-aliasing -pipe -MT liblzma_la-crc32_x86.lo -MD -MP -MF .deps/liblzma_la-crc32_x86.Tpo -c check/crc32_x86.S -fPIC -DPIC -o .libs/liblzma_la-crc32_x86.o
check/crc32_x86.S: Assembler messages:
check/crc32_x86.S:96: Error: suffix or operands invalid for `push'
check/crc32_x86.S:97: Error: suffix or operands invalid for `push'
check/crc32_x86.S:98: Error: suffix or operands invalid for `push'
check/crc32_x86.S:99: Error: suffix or operands invalid for `push'
check/crc32_x86.S:100: Error: `0x14(%esp)' is not a valid 64 bit base/index expression
check/crc32_x86.S:101: Error: `0x18(%esp)' is not a valid 64 bit base/index expression
check/crc32_x86.S:102: Error: `0x1C(%esp)' is not a valid 64 bit base/index expression
check/crc32_x86.S:131: Internal error, aborting at /usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/tc-i386.c line 3483 in output_imm
Please report this bug.
*** Error code 1
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I../../src/liblzma/common -I../../src/liblzma/check -I../../src/liblzma/lz -I../../src/liblzma/rangecoder -I../../src/liblzma/lzma -I../../src/liblzma/subblock -I../../src/liblzma/delta -I../../src/liblzma/simple -I../../src/common -D_THREAD_SAFE -pthread -fvisibility=hidden -Wall -Wextra -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -O2 -fno-strict-aliasing -pipe -MT liblzma_la-crc32_table.lo -MD -MP -MF .deps/liblzma_la-crc32_table.Tpo -c check/crc32_table.c -o liblzma_la-crc32_table.o >/dev/null 2>&1
mv -f .deps/liblzma_la-crc32_table.Tpo .deps/liblzma_la-crc32_table.Plo
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
Stop in /usr/ports/archivers/xz.
*** Error code 1
Stop in /usr/ports/devel/libtool22.
*** Error code 1
Stop in /usr/ports/archivers/rpm.
*** Error code 1
Stop in /usr/ports/emulators/linux_base-f9.
===============================================================
>How-To-Repeat:
- install FreeBSD-7.3-RELEASE
- cvsup ports tree to now
- put linux_enable="YES" into /etc/rc.conf
- reboot system
sysctl compat.linux.osrelease=2.6.16
cd /usr/ports/emulators/linux_base-f9
make
Same problem eixsts with at least 4 other linux_base-* ports I have tested (f8, f10, fc4)
>Fix:
installation via pkg_add -r works
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list