bugConcurrent Versions System - Bugs: bug #14722, problem compile static (apparatly...

 
 

bug #14722: problem compile static (apparatly between libc.a and regex_internal.c)

Submitter:  None
Submitted:  Wed 05 Oct 2005 02:37:57 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 12 Oct 2005 08:10:22 AM UTC, comment #3: 

I ran into the same problem on SUSE 9.1 with 1.12.13 and also with a checkout on Oct 12.

glibc-locale-2.3.3-98.47
glibc-i18ndata-2.3.3-98.47
glibc-2.3.3-98.47
glibc-devel-2.3.3-98.38

libgcc-3.3.3-43.34
gcc-3.3.3-43.28
gcc-c++-3.3.3-43.28

/Regards Bengt

Bengt Nilsson <beni>
Thu 06 Oct 2005 06:41:00 PM UTC, comment #2: 

Hi Vincent, this is the bug I believe you filed.  Can you fill in some of the info I requested in my last bug entry?  (Visit the link for this bug in the email message, then read my previous comment.)

Thanks,

Derek Robert Price <dprice>
Group administrator
Wed 05 Oct 2005 08:43:01 PM UTC, comment #1: 

We haven't seen this problem on any of the nightly test machines.  What platform does this occur on?  In addition to architecture, OS, & OS version, please specify versions of libc and GCC.

Also, a similar problem in the regex code was fixed just after the 1.12.13 release.  It would be useful to know that this is still happening with the development version of the CVS sources (instructions on obtaining these are here http://savannah.nongnu.org/cvs/?group=cvs).

Derek Robert Price <dprice>
Group administrator
Wed 05 Oct 2005 02:37:57 PM UTC, original submission:  

Hello,

I try to compile the 1.12.13 (issue from http://ftp.gnu.org/non-gnu/cvs/). but apparrently, there is a collision/conflit between libc.a and regex_internal.c)

Any idea ?

# setenv LDFLAGS -static
# configure
# make

.....
gcc  -g -O2  -static -Lno/lib -o cvs  add.o admin.o annotate.o buffer.o checkin.o checkout.o classify.o client.o commit.o create_adm.o cvsrc.o diff.o edit.o entries.o error.o exithandle.o expand_path.o fileattr.o filesubr.o find_names.o hardlink.o hash.o history.o ignore.o import.o lock.o log.o log-buffer.o login.o logmsg.o ls.o main.o mkmodules.o modules.o ms-buffer.o myndbm.o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o repos.o root.o rsh-client.o run.o scramble.o server.o stack.o status.o subr.o tag.o update.o version.o vers_ts.o watch.o wrapper.o zlib.o  ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -lrt   -lcrypt -lnsl
server.o(.text+0x4d1f): In function `pserver_authenticate_connection':
/usr/local/src/cvs-1.12.13/src/server.c:6574: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
admin.o(.text+0x80f): In function `admin':
/usr/local/src/cvs-1.12.13/src/admin.c:449: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
commit.o(.text+0x7cb): In function `commit':
/usr/local/src/cvs-1.12.13/src/commit.c:363: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
filesubr.o(.text+0xee4): In function `get_homedir':
/usr/local/src/cvs-1.12.13/src/filesubr.c:813: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../lib/libcvs.a(glob.o)(.text+0x111d): In function `rpl_glob':
/usr/local/src/cvs-1.12.13/lib/glob.c:656: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libc.a(regex.o)(.rodata+0x0): multiple definition of `__re_error_msgid_idx'
../lib/libcvs.a(regex.o)(.rodata+0x0):/usr/local/src/cvs-1.12.13/lib/regex_internal.c:166: first defined here
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libc.a(regex.o)(.rodata+0x60): multiple definition of `__re_error_msgid'
../lib/libcvs.a(regex.o)(.rodata+0x60):/usr/local/src/cvs-1.12.13/lib/regex_internal.c:172: first defined here
../lib/libcvs.a(canon-host.o)(.text+0x2b): In function `canon_host_r':
/usr/local/src/cvs-1.12.13/lib/canon-host.c:71: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
server.o(.text+0x4bee): In function `pserver_authenticate_connection':
/usr/local/src/cvs-1.12.13/src/server.c:6944: warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
client.o(.text+0x4ff9): In function `init_sockaddr':
/usr/local/src/cvs-1.12.13/src/client.c:5166: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
client.o(.text+0x3b72): In function `get_port_number':
/usr/local/src/cvs-1.12.13/src/client.c:3370: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: ld returned 1 exit status
make[2]: * [cvs] Error 1
make[2]: Leaving directory `/usr/local/src/cvs-1.12.13/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cvs-1.12.13'
make: * [all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-06 dprice StatusNone Need Info
    Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code