Bug#793752: clang-3.7: "inline" function in same file not found

2015-07-27 Thread Philipp Marek
HI Sylvestre,

> > Package: clang-3.7
> > Version: 1:3.7~svn239806-1+b1
> > Severity: normal
> >
> > Please fetch a checkout of r2474 of
> > http://fsvs.tigris.org/svn/fsvs/branches/clang-3.7-bug
> > and try to compile.
> >
> > The results are
> > commit.o: In function `ci___send_user_props':
> > commit.c:328: undefined reference to `send_a_prop'
> > racallback.o: In function `cb___change_dir_prop':
> > racallback.c:476: undefined reference to `cb___store_prop'
> > racallback.o: In function `cb___change_file_prop':
> > racallback.c:614: undefined reference to `cb___store_prop'
> >
> > but if the "inline" are removed (commit.c:244, racallback.c:296)
> > the result is as expected.
> >
> It requires a login to checkout the repo.
Oh, sorry.  http://fsvs.tigris.org/source/browse/fsvs/ says to use

  # svn checkout http://fsvs.tigris.org/svn/fsvs/branches/clang-3.7-bug fsvs 
--username guest

> Anyway, please attach a test case in the bug.
Hmmm, the file is a bit long, and used quite some include files... I'd need 
to figure out how to concatenate that while still reproducing the problem.


Can you try to start from the checkout, please?


Thank you!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#793752: clang-3.7: "inline" function in same file not found

2015-07-27 Thread Sylvestre Ledru
Hello,

Le 27/07/2015 00:02, Ph. Marek a écrit :
> Package: clang-3.7
> Version: 1:3.7~svn239806-1+b1
> Severity: normal
>
> Please fetch a checkout of r2474 of
> http://fsvs.tigris.org/svn/fsvs/branches/clang-3.7-bug
> and try to compile.
>
> The results are
> commit.o: In function `ci___send_user_props':
> commit.c:328: undefined reference to `send_a_prop'
> racallback.o: In function `cb___change_dir_prop':
> racallback.c:476: undefined reference to `cb___store_prop'
> racallback.o: In function `cb___change_file_prop':
> racallback.c:614: undefined reference to `cb___store_prop'
>
> but if the "inline" are removed (commit.c:244, racallback.c:296)
> the result is as expected.
>
It requires a login to checkout the repo.
Anyway, please attach a test case in the bug.

Thanks
S


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#793752: clang-3.7: "inline" function in same file not found

2015-07-26 Thread Ph. Marek
Package: clang-3.7
Version: 1:3.7~svn239806-1+b1
Severity: normal

Please fetch a checkout of r2474 of
http://fsvs.tigris.org/svn/fsvs/branches/clang-3.7-bug
and try to compile.

The results are
commit.o: In function `ci___send_user_props':
commit.c:328: undefined reference to `send_a_prop'
racallback.o: In function `cb___change_dir_prop':
racallback.c:476: undefined reference to `cb___store_prop'
racallback.o: In function `cb___change_file_prop':
racallback.c:614: undefined reference to `cb___store_prop'

but if the "inline" are removed (commit.c:244, racallback.c:296)
the result is as expected.


Thank you for your efforts!


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clang-3.7 depends on:
ii  binutils 2.25-10
ii  libc62.19-19
ii  libc6-dev2.19-19
ii  libclang-common-3.7-dev  1:3.7~svn239806-1+b1
ii  libclang1-3.71:3.7~svn239806-1+b1
ii  libedit2 3.1-20150325-1
ii  libffi6  3.2.1-3
ii  libgcc-4.9-dev   4.9.3-2
ii  libgcc1  1:5.1.1-14
ii  libllvm3.7   1:3.7~svn239806-1+b1
ii  libobjc-4.9-dev  4.9.3-2
ii  libstdc++-4.9-dev4.9.3-2
ii  libstdc++6   5.1.1-14
ii  libtinfo55.9+20150516-2
ii  zlib1g   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.7 recommends:
ii  llvm-3.7-dev  1:3.7~svn239806-1+b1
ii  python2.7.9-1

Versions of packages clang-3.7 suggests:
pn  clang-3.7-doc  
pn  gnustep
pn  gnustep-devel  

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org