Opened 9 years ago

Closed 9 years ago

#438 closed bug (fixed)

Singular configured --without-debug doesn't build

Reported by: jdemeyer@… Owned by: hannes
Priority: minor Milestone: 3-1-5 and higher
Component: omalloc Version: 3-1-5
Keywords: Cc:

Description

When configuring Singular using

$ ./configure --without-debug

the build fails:

$ make
[...]
g++ -O2 -w -fomit-frame-pointer --no-rtti -I.. -I/home/jdemeyer/spkg/upstream/Singular-3-1-5 -pipe -I. -I.. -I/home/jdemeyer/spkg/upstream/Singular-3-1-5 -I/home/jdemeyer/spkg/upstream/Singular-3-1-5/x86_64-Linux/include  -I/usr/local/include  -fno-implicit-templates --no-exceptions -I.. -I/home/jdemeyer/spkg/upstream/Singular-3-1-5 -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H \
          -o Singular \
          tesths.cc iparith.o mpsr_Tok.o claptmpl.o\
          grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o interpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o denom_list.o minpoly.o semaphore.o slInit_Dynamic.o -rdynamic -L/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel -L../kernel -lkernel -L/home/jdemeyer/spkg/upstream/Singular-3-1-5/x86_64-Linux/lib  -L/usr/local/lib  -ldl -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm  -lnsl  -lomalloc -lpthread  ../kernel/mmalloc.o
scanner.o: In function `dupyytext()':
scanner.cc:(.text+0x126): undefined reference to `omMarkAsStaticAddr'
scanner.o: In function `yy_create_buffer(_IO_FILE*, int)':
scanner.cc:(.text+0x38e): undefined reference to `omMarkAsStaticAddr'
scanner.cc:(.text+0x3d1): undefined reference to `omMarkAsStaticAddr'
scanner.cc:(.text+0x414): undefined reference to `omMarkAsStaticAddr'
scanner.cc:(.text+0x43c): undefined reference to `omMarkAsStaticAddr'
scanner.o:scanner.cc:(.text+0x6e6): more undefined references to `omMarkAsStaticAddr' follow
extra.o: In function `jjSYSTEM(sleftv*, sleftv*)':
extra.cc:(.text+0x2b3e): undefined reference to `omPrintUsedTrackAddrs'
extra.cc:(.text+0x2b9b): undefined reference to `omPrintUsedAddrs'
extra.cc:(.text+0x3c9e): undefined reference to `_omDebugFree'
extra.cc:(.text+0x3cb4): undefined reference to `_omDebugFree'
extra.cc:(.text+0x3dca): undefined reference to `_omDebugFree'
extra.cc:(.text+0x3f35): undefined reference to `_omDebugFree'
extra.cc:(.text+0x4007): undefined reference to `omPrintCurrentBackTraceMax'
extra.cc:(.text+0x4782): undefined reference to `omPrintUsedTrackAddrs'
extra.cc:(.text+0x47b0): undefined reference to `omMarkAsStaticAddr'
extra.cc:(.text+0x47bd): undefined reference to `omPrintUsedAddrs'
extra.cc:(.text+0x4912): undefined reference to `omMarkAsStaticAddr'
extra.o: In function `fglmNewLinearCombination(sip_sideal*, spolyrec*)':
extra.cc:(.text.unlikely+0xf83): undefined reference to `_omDebugFree'
extra.cc:(.text.unlikely+0xf9c): undefined reference to `_omDebugFree'
extra.cc:(.text.unlikely+0x1476): undefined reference to `_omDebugFree'
extra.cc:(.text.unlikely+0x148f): undefined reference to `_omDebugFree'
extra.cc:(.text.unlikely+0x1507): undefined reference to `_omDebugFree'
extra.o:extra.cc:(.text.unlikely+0x157e): more undefined references to `_omDebugFree' follow
libparse.o: In function `copy_string(lp_modes)':
libparse.cc:(.text+0x7a7): undefined reference to `omMarkAsStaticAddr'
libparse.o: In function `yylplex(char*, char*, lib_style_types*, idrec*, int, lp_modes)':
libparse.cc:(.text+0xcb2): undefined reference to `omMarkAsStaticAddr'
libparse.cc:(.text+0x342c): undefined reference to `omMarkAsStaticAddr'
/tmp/ccZabJJH.o: In function `main':
tesths.cc:(.text.startup+0x16): undefined reference to `omInitRet_2_Info'
iparith.o: In function `jjJET_P_IV(sleftv*, sleftv*, sleftv*, sleftv*)':
iparith.cc:(.text+0x1f52): undefined reference to `_omDebugFree'
iparith.o: In function `jjDEG_M_IV(sleftv*, sleftv*, sleftv*)':
iparith.cc:(.text+0x412d): undefined reference to `_omDebugFree'
iparith.o: In function `jjDEG_IV(sleftv*, sleftv*, sleftv*)':
iparith.cc:(.text+0x41b7): undefined reference to `_omDebugFree'
iparith.o: In function `jjINDEX_P_IV(sleftv*, sleftv*, sleftv*)':
iparith.cc:(.text+0x7b3b): undefined reference to `_omDebugFree'
iparith.o: In function `jjSYZYGY(sleftv*, sleftv*)':
iparith.cc:(.text+0x7bf4): undefined reference to `_omDebugFree'
iparith.o:iparith.cc:(.text+0x9780): more undefined references to `_omDebugFree' follow
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `Voice::Next()':
febase.cc:(.text+0xe1): undefined reference to `omMarkAsStaticAddr'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `feInitStdin(Voice*)':
febase.cc:(.text+0x566): undefined reference to `omMarkAsStaticAddr'
febase.cc:(.text+0x56f): undefined reference to `omMarkAsStaticAddr'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `StringAppend(char const*, ...)':
febase.cc:(.text+0xc44): undefined reference to `omMarkAsStaticAddr'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `Werror':
febase.cc:(.text+0x13cc): undefined reference to `_omDebugFree'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `newFile(char*, _IO_FILE*)':
febase.cc:(.text+0x18bf): undefined reference to `omMarkAsStaticAddr'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `Warn(char const*, ...)':
febase.cc:(.text+0x1b5c): undefined reference to `_omDebugFree'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(febase.o): In function `feReadLine(char*, int)':
febase.cc:(.text+0x28ac): undefined reference to `omMarkAsStaticAddr'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(hdegree.o): In function `hCheckIndep(int*)':
hdegree.cc:(.text+0x1a11): undefined reference to `_omDebugFree'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(hdegree.o): In function `scDimInt(sip_sideal*, sip_sideal*)':
hdegree.cc:(.text+0x2196): undefined reference to `_omDebugFree'
hdegree.cc:(.text+0x21b9): undefined reference to `_omDebugFree'
hdegree.cc:(.text+0x21d7): undefined reference to `_omDebugFree'
hdegree.cc:(.text+0x234a): undefined reference to `_omDebugFree'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(hdegree.o):hdegree.cc:(.text+0x27ec): more undefined references to `_omDebugFree' follow
iplib.o: In function `iiCheckNest()':
iplib.cc:(.text+0x410): undefined reference to `omMarkAsStaticAddr'
ipprint.o: In function `ipPrint_MA0(ip_smatrix*, char const*)':
ipprint.cc:(.text+0xa5f): undefined reference to `_omDebugFree'
ipprint.o: In function `jjPRINT(sleftv*, sleftv*)':
ipprint.cc:(.text+0xfd4): undefined reference to `_omDebugFree'
ipprint.o: In function `ipPrint_MA0(ip_smatrix*, char const*)':
ipprint.cc:(.text+0xa86): undefined reference to `_omDebugFree'
ipshell.o: In function `jjMINRES(sleftv*, sleftv*)':
ipshell.cc:(.text+0x1960): undefined reference to `_omDebugFree'
ipshell.o: In function `jjBETTI2(sleftv*, sleftv*, sleftv*)':
ipshell.cc:(.text+0x1b74): undefined reference to `_omDebugFree'
ipshell.o:ipshell.cc:(.text+0x1c10): more undefined references to `_omDebugFree' follow
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(dError.o): In function `dReportError':
dError.c:(.text+0xdd): undefined reference to `omPrintCurrentBackTraceMax'
/home/jdemeyer/spkg/upstream/Singular-3-1-5/kernel/libkernel.a(khstd.o): In function `khCheck(sip_sideal*, intvec*, intvec*, int&, int&, skStrategy*)':
khstd.cc:(.text+0x3b0): undefined reference to `_omDebugFree'
khstd.cc:(.text+0x594): undefined reference to `_omDebugFree'
collect2: error: ld returned 1 exit status
make[2]: *** [Singular] Error 1
make[2]: Leaving directory `/home/jdemeyer/spkg/upstream/Singular-3-1-5/Singular'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/jdemeyer/spkg/upstream/Singular-3-1-5'
make: *** [/home/jdemeyer/spkg/upstream/Singular-3-1-5/x86_64-Linux/Singular-3-1-5] Error 2

Change History (3)

comment:1 Changed 9 years ago by hannes

debug stuff is needed for 64bit architectures. This will be solved with the rewrite of omalloc. For the time being, we will just remove that option of configure.

comment:2 Changed 9 years ago by ren

Owner: changed from somebody to hannes

comment:3 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.