Gentoo Archives: gentoo-hardened

From: Ed W <lists@××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Compile problems - possibly gcc issue?
Date: Sun, 28 Jun 2009 13:41:36
Message-Id: 4A47730C.6000906@wildgooses.com
In Reply to: Re: [gentoo-hardened] Compile problems - possibly gcc issue? by Magnus Granberg
1 Hmm, the relevant config.log snippet is shown below, but it's not 100%
2 obvious what creates the error - I guess it would be the
3
4 | #define LIBC_VERSION "libc.so.0
5 | ld-uClibc.so.0"
6
7 Which seems peculiarly split over two lines?
8
9 Anyone guess why this would be? Also the config.log shows me that there
10 are errors everywhere due to roughly the same problem. It's only this
11 one which was terminal
12
13 Debugging further, but grateful for any thoughts?
14
15 Ed W
16
17
18 ------
19
20 configure:16344: checking whether the linker accepts
21 -Wl,--version-script,conftest.map
22 configure:16373: i386-gentoo-linux-uclibc-gcc -o conftest -march=k6-2
23 -Os -pipe -fomit-frame-pointer -D_REENTRANT -Wl,--vers
24 ion-script,conftest.map conftest.c >&5
25 conftest.c:107: error: syntax error before '-' token
26 conftest.c:107: error: missing terminating " character
27 configure:16380: $? = 1
28 configure: failed program was:
29 | /* confdefs.h. */
30 | #define PACKAGE_NAME "sandbox"
31 | #define PACKAGE_TARNAME "sandbox"
32 | #define PACKAGE_VERSION "1.6"
33 | #define PACKAGE_STRING "sandbox 1.6"
34 | #define PACKAGE_BUGREPORT "sandbox@g.o"
35 | #define PACKAGE "sandbox"
36 | #define VERSION "1.6"
37 | #define SANDBOX_CONFIGURE_OPTS "--prefix=/usr
38 --build=i386-gentoo-linux-uclibc --host=i386-gentoo-linux-uclibc
39 --mandir=/us
40 r/share/man --infodir=/usr/share/info --datadir=/usr/share
41 --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib build
42 _alias=i386-gentoo-linux-uclibc host_alias=i386-gentoo-linux-uclibc
43 CFLAGS=-march=k6-2 -Os -pipe -fomit-frame-pointer LDFLAGS
44 =-Wl,-z,relro CPPFLAGS="
45 | #define STDC_HEADERS 1
46 | #define HAVE_SYS_TYPES_H 1
47 | #define HAVE_SYS_STAT_H 1
48 | #define HAVE_STDLIB_H 1
49 | #define HAVE_STRING_H 1
50 | #define HAVE_MEMORY_H 1
51 | #define HAVE_STRINGS_H 1
52 | #define HAVE_INTTYPES_H 1
53 | #define HAVE_STDINT_H 1
54 | #define HAVE_UNISTD_H 1
55 | #define __EXTENSIONS__ 1
56 | #define _ALL_SOURCE 1
57 | #define _GNU_SOURCE 1
58 | #define _POSIX_PTHREAD_SEMANTICS 1
59 | #define _TANDEM_SOURCE 1
60 | #define HAVE_DLFCN_H 1
61 | #define LT_OBJDIR ".libs/"
62 | #define HAVE_ALLOCA_H 1
63 | #define HAVE_ALLOCA 1
64 | #define HAVE_DIRENT_H 1
65 | #define STDC_HEADERS 1
66 | #define HAVE_SYS_WAIT_H 1
67 | #define HAVE_DIRENT_H 1
68 | #define HAVE_DLFCN_H 1
69 | #define HAVE_ELF_H 1
70 | #define HAVE_ERRNO_H 1
71 | #define HAVE_FCNTL_H 1
72 | #define HAVE_GRP_H 1
73 | #define HAVE_LIBGEN_H 1
74 | #define HAVE_LIMITS_H 1
75 | #define HAVE_MEMORY_H 1
76 | #define HAVE_PTHREAD_H 1
77 | #define HAVE_PWD_H 1
78 | #define HAVE_SIGNAL_H 1
79 | #define HAVE_STDARG_H 1
80 | #define HAVE_STDBOOL_H 1
81 | #define HAVE_STDDEF_H 1
82 | #define HAVE_STDIO_H 1
83 | #define HAVE_STDLIB_H 1
84 | #define HAVE_STRING_H 1
85 | #define HAVE_STRINGS_H 1
86 | #define HAVE_SYSCALL_H 1
87 | #define HAVE_UNISTD_H 1
88 | #define HAVE_UTIME_H 1
89 | #define HAVE_SYS_FILE_H 1
90 | #define HAVE_SYS_MMAN_H 1
91 | #define HAVE_SYS_PARAM_H 1
92 | #define HAVE_SYS_STAT_H 1
93 | #define HAVE_SYS_TIME_H 1
94 | #define HAVE_SYS_TYPES_H 1
95 | #define HAVE_SYS_WAIT_H 1
96 | #define HAVE_PTRDIFF_T 1
97 | #define HAVE_SIGHANDLER_T 1
98 | #define HAVE_SIG_T 1
99 | #define HAVE___SIGHANDLER_T 1
100 | #define HAVE_DECL_ENVIRON 1
101 | #define HAVE_UNISTD_H 1
102 | #define HAVE_CHOWN 1
103 | #define HAVE_FORK 1
104 | #define HAVE_VFORK 1
105 | #define HAVE_WORKING_VFORK 1
106 | #define HAVE_WORKING_FORK 1
107 | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
108 | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
109 | #define RETSIGTYPE void
110 | #define HAVE_CREAT64 1
111 | #define HAVE_FOPEN64 1
112 | #define HAVE_FTRUNCATE 1
113 | #define HAVE_GETCWD 1
114 | #define HAVE_LCHOWN 1
115 | #define HAVE_MEMMOVE 1
116 | #define HAVE_MEMCPY 1
117 | #define HAVE_MEMSET 1
118 | #define HAVE_MKDIR 1
119 | #define HAVE_OPEN64 1
120 | #define HAVE_PATHCONF 1
121 | #define HAVE_REALPATH 1
122 | #define HAVE_REMOVE 1
123 | #define HAVE_RMDIR 1
124 | #define HAVE_SETENV 1
125 | #define HAVE_STRCASECMP 1
126 | #define HAVE_STRCHR 1
127 | #define HAVE_STRDUP 1
128 | #define HAVE_STRERROR 1
129 | #define HAVE_STRNDUP 1
130 | #define HAVE_STRRCHR 1
131 | #define HAVE_STRSPN 1
132 | #define HAVE_STRSTR 1
133 | #define HAVE_STRTOK_R 1
134 | #define HAVE_TRUNCATE64 1
135 | #define HAVE_UTIME 1
136 | #define HAVE_UTIMES 1
137 | #define HAVE_DLVSYM 0
138 | #define TRUNCATE_T off_t
139 | #define HAVE_RTLD_NEXT 1
140 | #define LIBC_PATH "/lib/libc.so.0"
141 | #define LIBC_VERSION "libc.so.0
142 | ld-uClibc.so.0"
143 | /* end confdefs.h. */
144 |
145 | int
146 | main ()
147 | {
148 |
149 | ;
150 | return 0;
151 | }
152 configure:16403: result: no

Replies

Subject Author
Re: [gentoo-hardened] Compile problems - possibly gcc issue? Ed W <lists@××××××××××.com>