pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35235: editors/emacs fails to build on NetBSD/hp700 current



>Number:         35235
>Category:       pkg
>Synopsis:       editors/emacs fails to build on NetBSD/hp700 current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 12 02:35:01 +0000 2006
>Originator:     David H. Gutteridge
>Release:        current/4-BETA
>Organization:
>Environment:
NetBSD arcusiv.nonus-porta.net 4.99.4 NetBSD 4.99.4 (GENERIC) #0: Wed Nov 29 
11:10:54 UTC 2006  
root%arcusiv.nonus-porta.net@localhost:/usr/src/sys/arch/hp700/compile/GENERIC 
hp700

>Description:
editors/emacs fails to compile on the hp700 port.  (I think this is likely
of more interest to the port maintainers than pkgsrc developers.)
>How-To-Repeat:
Try compiling emacs.  If devel/cpuflags is employed, an assembler error is
triggered, and if gcc is invoked without any architecture-specific
optimizations, a linker error occurs.

Here is the error with -march=1.1 -mschedule=7300 supplied to gcc:

cc -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include 
-L/usr/pkg/lib -L/usr/local/lib  -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include 
-I/usr/X11R6/include -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
-I/usr/pkgsrc/editors/emacs/work/emacs-21.4/src -I/usr/X11R6/include 
-I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib 
-I/usr/X11R6/include -O2 -march=1.1 -mschedule=7300 -pipe -I/usr/pkg/include 
-I/usr/X11R6/include -I/usr/include callproc.c
{standard input}: Assembler messages:
{standard input}:1446: Error: bad expression
{standard input}:1446: Error: bad expression
{standard input}:1446: Error: bad expression
{standard input}:1446: Error: bad expression
{standard input}:1446: Error: Invalid operands 
gmake[1]: *** [callproc.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/emacs-21.4/src'
gmake: *** [src] Error 2
*** Error code 2

And here is the error when -march=1.1 -mschedule=7300 are not supplied:

cc -nostartfiles  `echo -R/usr/X11R6/lib | sed -e 's/-R/-Wl,-rpath,/'` 
-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib 
-L/usr/local/lib -Wl,-z,nocombreloc -L/usr/pkg/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/X11R6/lib -o temacs pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o 
/usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o 
charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o 
xselect.o xrdb.o fontset.o emacs.o keyboard.o macros.o keymap.o sysdep.o 
buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o 
cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o 
doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o 
syntax.o unexelf.o mocklisp.o bytecode.o process.o callproc.o region-cache.o 
sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o  
tparam.o lastfile.o gmalloc.o ralloc.o vm-limit.
 o  widget.o mktime.o   ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM 
-lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -lossaudio 
-ltermcap   -lm -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o 
/usr/lib/libossaudio.so: file not recognized: gcc: Internal error: Segmentation 
fault (program ld)
Please submit a full bug report.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
gmake[1]: *** [temacs] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/emacs-21.4/src'
gmake: *** [src] Error 2
*** Error code 2

>Fix:




Home | Main Index | Thread Index | Old Index