Project

General

Profile

Actions

Bug #495

closed

oi_148 and illumos-gate

Added by Piotr Jasiukajtis over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OI-Userland
Target version:
-
Start date:
2010-12-10
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Illumos-gate's nightly fails on oi_148:

Tested on illumos-gate revision 13254

$ cd $CODEMGR_WS/usr/src/lib/fm/libfmd_snmp/i386/
$ dmake install
os-devel --> 1 job
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/init.o ../common/init.c
os-devel --> 2 jobs
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/module.o ../common/module.c
os-devel --> 3 jobs
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/problem.o ../common/problem.c
os-devel --> 4 jobs
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/resource.o ../common/resource.c
os-devel --> 5 jobs
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/scheme.o ../common/scheme.c
os-devel --> Job output
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/init.o ../common/init.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -fPIC -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o /tmp/.cwCAAJnaO2T.o ../common/init.c 
+ /opt/SUNWspro/bin/cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/init.o ../common/init.c 
"../common/init.c", line 61: undefined symbol: __FUNCTION__
cc: acomp failed for ../common/init.c
*** Error code 2
dmake: Fatal error: Command failed for target `pics/init.o'
Current working directory /code/illumos-gate/usr/src/lib/fm/libfmd_snmp/i386
Waiting for 4 jobs to finish
os-devel --> Job output
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/module.o ../common/module.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -fPIC -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o /tmp/.cwCAAJnaa3T.o ../common/module.c 
+ /opt/SUNWspro/bin/cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/module.o ../common/module.c 
"../common/module.c", line 184: undefined symbol: __FUNCTION__
"../common/module.c", line 199: undefined symbol: __FUNCTION__
"../common/module.c", line 213: undefined symbol: __FUNCTION__
"../common/module.c", line 219: undefined symbol: __FUNCTION__
"../common/module.c", line 267: undefined symbol: __FUNCTION__
"../common/module.c", line 477: undefined symbol: __FUNCTION__
"../common/module.c", line 490: undefined symbol: __FUNCTION__
"../common/module.c", line 496: undefined symbol: __FUNCTION__
"../common/module.c", line 508: undefined symbol: __FUNCTION__
"../common/module.c", line 512: undefined symbol: __FUNCTION__
"../common/module.c", line 523: undefined symbol: __FUNCTION__
"../common/module.c", line 533: undefined symbol: __FUNCTION__
cc: acomp failed for ../common/module.c
*** Error code 2
dmake: Warning: Command failed for target `pics/module.o'
Current working directory /code/illumos-gate/usr/src/lib/fm/libfmd_snmp/i386
os-devel --> Job output
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/problem.o ../common/problem.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -fPIC -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o /tmp/.cwCAAKnai3T.o ../common/problem.c 
+ /opt/SUNWspro/bin/cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/problem.o ../common/problem.c 
"../common/problem.c", line 92: undefined symbol: __FUNCTION__
"../common/problem.c", line 106: undefined symbol: __FUNCTION__
"../common/problem.c", line 111: undefined symbol: __FUNCTION__
"../common/problem.c", line 154: undefined symbol: __FUNCTION__
"../common/problem.c", line 162: undefined symbol: __FUNCTION__
"../common/problem.c", line 218: undefined symbol: __FUNCTION__
"../common/problem.c", line 271: undefined symbol: __FUNCTION__
"../common/problem.c", line 484: undefined symbol: __FUNCTION__
"../common/problem.c", line 504: undefined symbol: __FUNCTION__
"../common/problem.c", line 521: undefined symbol: __FUNCTION__
"../common/problem.c", line 528: undefined symbol: __FUNCTION__
"../common/problem.c", line 534: undefined symbol: __FUNCTION__
"../common/problem.c", line 539: undefined symbol: __FUNCTION__
"../common/problem.c", line 543: undefined symbol: __FUNCTION__
"../common/problem.c", line 556: undefined symbol: __FUNCTION__
"../common/problem.c", line 599: undefined symbol: __FUNCTION__
"../common/problem.c", line 631: undefined symbol: __FUNCTION__
"../common/problem.c", line 653: undefined symbol: __FUNCTION__
cc: acomp failed for ../common/problem.c
*** Error code 2
dmake: Warning: Command failed for target `pics/problem.o'
Current working directory /code/illumos-gate/usr/src/lib/fm/libfmd_snmp/i386
os-devel --> Job output
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/scheme.o ../common/scheme.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -fPIC -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o /tmp/.cwCAAOnaO3T.o ../common/scheme.c 
+ /opt/SUNWspro/bin/cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/scheme.o ../common/scheme.c 
"../common/scheme.c", line 192: undefined symbol: __FUNCTION__
"../common/scheme.c", line 201: undefined symbol: __FUNCTION__
"../common/scheme.c", line 209: undefined symbol: __FUNCTION__
"../common/scheme.c", line 313: undefined symbol: __FUNCTION__
cc: acomp failed for ../common/scheme.c
*** Error code 2
dmake: Warning: Command failed for target `pics/scheme.o'
Current working directory /code/illumos-gate/usr/src/lib/fm/libfmd_snmp/i386
os-devel --> Job output
/code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_cc -O  -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I/code/illumos-gate/proto/root_i386/usr/include    -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/resource.o ../common/resource.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-uninitialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -fPIC -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o /tmp/.cwCAAMnay3T.o ../common/resource.c 
+ /opt/SUNWspro/bin/cc -O -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none -W0,-xglobalstatic -v -K PIC -g -xc99=%none -W0,-noglobal -xdebugformat=stabs -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -I/code/illumos-gate/proto/root_i386/usr/include -I../common -I. -DDEBUG -DPIC -D_REENTRANT -c -o pics/resource.o ../common/resource.c 
"../common/resource.c", line 170: undefined symbol: __FUNCTION__
"../common/resource.c", line 186: undefined symbol: __FUNCTION__
"../common/resource.c", line 200: undefined symbol: __FUNCTION__
"../common/resource.c", line 206: undefined symbol: __FUNCTION__
"../common/resource.c", line 254: undefined symbol: __FUNCTION__
"../common/resource.c", line 490: undefined symbol: __FUNCTION__
"../common/resource.c", line 503: undefined symbol: __FUNCTION__
"../common/resource.c", line 509: undefined symbol: __FUNCTION__
"../common/resource.c", line 521: undefined symbol: __FUNCTION__
"../common/resource.c", line 525: undefined symbol: __FUNCTION__
"../common/resource.c", line 536: undefined symbol: __FUNCTION__
"../common/resource.c", line 546: undefined symbol: __FUNCTION__
"../common/resource.c", line 749: undefined symbol: __FUNCTION__
cc: acomp failed for ../common/resource.c
*** Error code 2
dmake: Warning: Command failed for target `pics/resource.o'
Current working directory /code/illumos-gate/usr/src/lib/fm/libfmd_snmp/i386

Related issues

Related to OpenIndiana Distribution - Bug #1078: illumos-gate build issues on oi_151ResolvedOI SFW2011-05-29

Actions
Actions #1

Updated by Piotr Jasiukajtis over 12 years ago

I'm able to build the same gate revision using oi_147 (base system) updated to illumos r13254 (debug build).

Actions #2

Updated by Albert Lee over 12 years ago

This is a result of:
/usr/include/net-snmp/net-snmp-config.h:#define HAVE_CPP_UNDERBAR_FUNCTION_DEFINED 1
On oi_147, this was:
/usr/include/net-snmp/net-snmp-config.h:/* #undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED */

Actions #3

Updated by Albert Lee over 12 years ago

  • Target version set to oi_148

I'll address this as part of the upcoming repo respin for 148.

Actions #4

Updated by Albert Lee over 12 years ago

  • Status changed from New to Resolved

Fixed in respin of oi_148.

Actions #5

Updated by Andrew Stormont over 11 years ago

  • Status changed from Resolved to Feedback
  • Target version changed from oi_148 to oi_151_stable
  • Difficulty set to Medium
  • Tags set to needs-triage

Broken again on 151.

Actions #6

Updated by Jon Tibble over 11 years ago

  • Category set to 35
  • Status changed from Feedback to New
  • Assignee set to OI Userland
  • Target version deleted (oi_151_stable)

This is fixed in /dev but seems broken everywhere else.

Not a stable issue, an experimental issue.

Actions #7

Updated by Ken Mays over 10 years ago

  • Status changed from New to Closed
  • Assignee deleted (OI Userland)

Old ticket so closing based on two new developments: GCC 4.4.x/4.7.2 kernel/userland builds and SS 12.3 (internal FUNCTION handling). The issue can be resolved by patching for older 12/12u1 SS builds or build with GCC/SS 12.3.

Actions

Also available in: Atom PDF