Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25467 - xemacs won't compile with CFLAG -fPIC
Summary: xemacs won't compile with CFLAG -fPIC
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-28 17:04 UTC by Anders Storsveen
Modified: 2005-07-21 16:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Storsveen 2003-07-28 17:04:41 UTC
you get this message:

Error before initialization is complete!
Fatal error: assertion failed, file eval.c, line 1880, abort()


Reproducible: Always
Steps to Reproduce:
1. add -fPIC to CFLAGS
2. emerge xemacs
3. wait :)
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2004-12-15 12:47:18 UTC
Robert, can you check the status of this one?
Comment 2 Adam Polkosnik 2005-02-22 10:39:38 UTC
gcc -O2 -march=k8 -ftracer -pipe -fweb -fPIC   -L/usr/X11R6/lib -Wl,-export-dynamic -o xemacs  abbrev.o alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o dumper.o balloon_help.o balloon-x.o eldap.o postgresql.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o inline.o linuxplay.o miscplay.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o gpmevent.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o event-stream.o extents.o faces.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o  hash.o imgproc.o indent.o insdel.o intl.o keymap.o  line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o process.o profile.o rangetab.o redisplay.o redisplay-output.o regex.o search.o select.o  signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o  lastfile.o vm-limit.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o   dump-id.o ../lwlib/liblw.a  -lXm -ltiff -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lgdbm_compat -lgpm -lncurses -lpq -lldap -lm -lutil
./xemacs -nd -batch -l /var/tmp/portage/xemacs-21.4.15-r3/work/xemacs-21.4.15/src/../lisp/update-elc.el
make[1]: *** [update-elc.stamp] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.15-r3/work/xemacs-21.4.15/src'
make: *** [src] Error 2

!!! ERROR: app-editors/xemacs-21.4.15-r3 failed.
!!! Function src_compile, Line 171, Exitcode 2
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 15:37:04 UTC
Mass re-assign of really stale bugs; xemacs herd, please verify the status and
close them if these issues no longer exist. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 16:59:36 UTC
Don't put fPIC into your C[XX]FLAGS, it's a really bad idea.