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

Philipp Marek philipp.marek at linbit.com
Tue Jul 28 06:20:39 UTC 2015


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!



More information about the Pkg-llvm-team mailing list