First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 33425
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Matthew Kennedy (RETIRED) <mkennedy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Darrin Tisdale <me@tizzyd.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 33425 depends on: Show dependency tree
Bug 33425 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-13 14:25 0000
In the ebuild file for clisp-2.31, it says

unset CFLAGS

Later, the build uses CFLAGS from the Makefile.  Unfortunately, it omits a function alignment so that it cannot be built:

emerge clisp
...
mkdir data
cd data && ln -s ../../utils/unicode/UnicodeDataFull.txt .
cd data && ln -s ../../src/clhs.txt .
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  -fomit-frame-pointer -O -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl   -L/usr/lib -lsigsegv -L/usr/lib -lc -o lisp.run
sync
./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))"
C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x8062ae7.
Add -falign-functions=4 to CFLAGS in the Makefile.
make: *** [interpreted.mem] Aborted

!!! ERROR: dev-lisp/clisp-2.31 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)

Since the Makefile is created dynamically, it cannot be changed.  It puts the following line into the Makefile:

CFLAGS =  -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  -fomit-frame-pointer -O -DUNICODE -DDYNAMIC_FFI

I have also tried to comment out the unset line, but then the whole build goes crazy.

------- Comment #1 From Matthew Kennedy (RETIRED) 2003-11-22 22:35:13 0000 -------
ah i see what you mean. assigning

------- Comment #2 From Matthew Kennedy (RETIRED) 2003-11-27 00:08:30 0000 -------
a fix for this has been incorporated into clisp-2.31, recently marked stable.

------- Comment #3 From Matthew Kennedy (RETIRED) 2003-11-27 00:08:51 0000 -------
.

------- Comment #4 From Matthew Kennedy (RETIRED) 2003-11-28 22:35:20 0000 -------
i just realized i failed to solve the problem when i closed this, in
clisp-2.31-r1, there is a robust fix.

Matt

First Last Prev Next    No search results available      Search page      Enter new bug